• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Performance with rc3 vs. rc1 (usenet) not as expected

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
11 Posts 5 Posters 3.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    p0ddie
    last edited by Jul 4, 2011, 9:58 PM

    Hi,

    I used several rc1 builds before, they were all without issue. in 2.0-RC3 (i386) built on Wed Jun 22 00:50:29 EDT 2011 and 2.0-RC3 (i386) built on Mon Jul 4 09:48:55 EDT 2011 I have slow usenet throughput.

    Doesn't matter if I use ssl or plain usenet with 10 connections, tried numerous ports. connecting my machine directly to the cable modem gives me max bandwidth. also had max bandwidth with rc1.

    Freshly rebooted pfsense on a Via Esther 1GHz cpu, 256MB ram, intel dual gbit pci nic.

    states: 172/21000
    mbuf usage 644/900
    cpu max. 38%
    memory max 46%

    I had ~100Mbit/s with ~90% cpu in rc1, now the cpu spikes at max 38% and I only get roughly 30Mbit/s…

    weird thing is when I download e.g. an Apple movie trailer while using usenet, I get max bandwidth.

    I have no extra packets (except for the openvpn export wizard) and deleted all traffic shaping entries.

    What I saw with rc1 is when I have "Log packets blocked by the default rule" checked (status:system logs:settings), the system gets really slow with high traffic (probably the cf card not catching up), so I deactivated that and also rrd graphing to free up some resources.

    What can I do to track this down?

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jul 4, 2011, 10:24 PM

      Logs are kept in RAM and unless you have a very high level of blocked packets (like a DDoS attack against you) it has no performance impact on the system. The type of performance issues a firewall can induce (most commonly duplex mismatch, maxing out your CPU if it's very slow relative to bandwidth, driver issues) are universal, you won't get maximum performance with one protocol and not another. So it's highly unlikely to be firewall related. One exception to that - if you're using traffic shaping you can introduce limits on some protocols and not others. Best way to analyze network performance is to analyze a pcap of the affected traffic, comparing LAN and WAN simultaneously, as any performance degradation introduced by the firewall will result in packets coming in on LAN and not leaving WAN or vice versa.

      1 Reply Last reply Reply Quote 0
      • P
        p0ddie
        last edited by Jul 5, 2011, 7:45 AM

        @cmb:

        The type of performance issues a firewall can induce (most commonly duplex mismatch, maxing out your CPU if it's very slow relative to bandwidth, driver issues) are universal, you won't get maximum performance with one protocol and not another.

        While that is perfectly clear to me, it does not explain why in RC1, I had no such problems, and why my CPU is not maxed out.

        So it's highly unlikely to be firewall related.

        Well, connecting to my cable modem w/o pfsense yields in maximum throughput over this protocol.

        One exception to that - if you're using traffic shaping you can introduce limits on some protocols and not others.

        Please, I am not that dopey  :D That's why I deleted all my traffic shaping first thing when I found the performance to be degraded and made sure there is no other traffic on the line.

        Best way to analyze network performance is to analyze a pcap of the affected traffic, comparing LAN and WAN simultaneously, as any performance degradation introduced by the firewall will result in packets coming in on LAN and not leaving WAN or vice versa.

        Will do that with RC3 and perhaps RC1 and post the results. Thanks!

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Jul 5, 2011, 5:53 PM

          Are you using anything such as snort, l7 filtering, traffic shaping, etc?

          Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • I
            iFloris
            last edited by Jul 5, 2011, 9:44 PM

            Today I noticed that my ftp transfers (downloading some huge psd files) appear to have halved in speed to what I used to see.
            Download speeds today were around 60/mbit @ 5 - 10 % cpu usage.
            Only a few weeks ago, speeds were a solid 100/Mbit @ around 10% cpu.
            Possibly related, or a coincidence?

            No traffic shaping, no snort, no layer filtering.

            one layer of information
            removed

            1 Reply Last reply Reply Quote 0
            • P
              p0ddie
              last edited by Jul 6, 2011, 11:49 AM

              @jimp:

              Are you using anything such as snort, l7 filtering, traffic shaping, etc?

              No, absolutely nothing in regard to extra packages or filtering/shaping.

              I tried to install the 2011-6-15 version yesterday (pfSense-Full-Update-2.0-RC1-i386-20110615-0944) and did a factory reset, transfers were still slow.

              Looking back in my logs, I had full bandwidth until I updated pfsense on the 2011-6-24 (of course, this information is absolutely useless to you as you don't know which version I had before that. Here's the bummer: me neither.).

              Is there any mirror where I can get a snapshot older than 2011-6-15, perhaps from the beginning of May? I am quite sure I had some May 5th or something snapshot before.

              1 Reply Last reply Reply Quote 0
              • P
                Phobia
                last edited by Jul 6, 2011, 12:00 PM

                Were any drivers changed from RC1 vs. RC3, particularly network drivers?

                1 Reply Last reply Reply Quote 0
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Jul 6, 2011, 12:13 PM

                  The em/igb driver was updated. Until this latest revision, people had been seeing several different failure conditions with the driver but it is now working for those who were having issues.

                  Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • I
                    iFloris
                    last edited by Jul 6, 2011, 12:52 PM

                    My pfSense machine uses an intel ET network card through ESXi, which provides pfsense with an intel e1000 virtual network card.
                    Am I correct in deducing that my issue could be with the EM driver?
                    Would it help to switch to another vm-driver?

                    one layer of information
                    removed

                    1 Reply Last reply Reply Quote 0
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Jul 6, 2011, 1:09 PM

                      Possible, but not likely. You might be able to try the vmnetx driver (search elsewhere on the forum) but AFAIK the performance with/without VMware did not change at all between driver revisions since it uses the legacy code path, mainly igb cards were affected by the changes (but not all)

                      Remember: Upvote with the šŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • I
                        iFloris
                        last edited by Jul 6, 2011, 1:12 PM

                        Thanks Jimp, I'll go check out the alternate driver.
                        Who knows, I've changed so much since I switched from an x700 to this new machine that I might have inadvertently changed some other value.
                        Still, that doesn't help the TS.

                        one layer of information
                        removed

                        1 Reply Last reply Reply Quote 0
                        11 out of 11
                        • First post
                          11/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received