The pfSense Store

Author Topic: Speed decline  (Read 3966 times)

0 Members and 1 Guest are viewing this topic.

Offline j0sh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Speed decline
« on: November 15, 2005, 10:01:39 am »
I have pfsense installed on a celeron 533 w/256mb and a 4gb HD. I have a 1.5 up and 8.0 down connection. Plugged directly into the cable modem I get about 5.5 actual speed down. Plugged in through the pfsense box with default traffic shaping wizard rules my connection tops out at about 3.5 down. If I disable the traffic shaping I still only get about 4 down. The upload always gets a full 1.5. I have my speeds set to 1500 up and 8000 down. Is my hardware too slow? The network cards have been changed out. Any Idea why I lose so much bandwidth?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Speed decline
« Reply #1 on: November 15, 2005, 10:07:30 am »
I have pfsense installed on a celeron 533 w/256mb and a 4gb HD. I have a 1.5 up and 8.0 down connection. Plugged directly into the cable modem I get about 5.5 actual speed down. Plugged in through the pfsense box with default traffic shaping wizard rules my connection tops out at about 3.5 down. If I disable the traffic shaping I still only get about 4 down. The upload always gets a full 1.5. I have my speeds set to 1500 up and 8000 down. Is my hardware too slow? The network cards have been changed out. Any Idea why I lose so much bandwidth?

That should be plenty of juice to push 8 megabit.   a 266 megahertz wrap can push 28+ megabit.   You really need to tell us what nic types you have, etc.

Offline Patrick_

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • LiquidObject
Re: Speed decline
« Reply #2 on: November 15, 2005, 10:32:30 am »
I have a 1.5 up and 8.0 down connection.

Damn, where'd ya get that pipe from?


--------------------------------------------------------------------------------------
pfSense Documentation Wiki
pfctl reference
Personal Blog

Offline j0sh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Speed decline
« Reply #3 on: November 15, 2005, 02:07:51 pm »
It's an Adelphia business SB3 package.

I think the problem is with this:
Nov 15 20:04:02 kernel: calcru: negative runtime of -670163 usec for pid 279 (logger)
Nov 15 20:04:02 kernel: calcru: negative runtime of -7500955 usec for pid 278 (tcpdump)
Nov 15 20:04:02 kernel: calcru: negative runtime of -5475406 usec for pid 277 (pflogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -4023938 usec for pid 223 (syslogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -261 usec for pid 47 (nfsiod 1)
Nov 15 20:04:02 kernel: calcru: negative runtime of -2050259 usec for pid 45 (syncer)
Nov 15 20:04:03 kernel: calcru: negative runtime of -684085 usec for pid 44 (vnlru)
Nov 15 20:04:02 kernel: calcru: runtime went backwards from 34125248 usec to 28366752 usec for pid 42 (pagezero)
Nov 15 20:04:02 kernel: calcru: negative runtime of -684905 usec for pid 39 (pagedaemon)


I get that stuff in my logs every few seconds....I tried lots of suggested fixes from google but nothing seems to work...

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Speed decline
« Reply #4 on: November 15, 2005, 02:26:02 pm »
Yes, thats a sign that internal timekeeping is getting all fubar'd.

Bios up to date?

It's an Adelphia business SB3 package.

I think the problem is with this:
Nov 15 20:04:02 kernel: calcru: negative runtime of -670163 usec for pid 279 (logger)
Nov 15 20:04:02 kernel: calcru: negative runtime of -7500955 usec for pid 278 (tcpdump)
Nov 15 20:04:02 kernel: calcru: negative runtime of -5475406 usec for pid 277 (pflogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -4023938 usec for pid 223 (syslogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -261 usec for pid 47 (nfsiod 1)
Nov 15 20:04:02 kernel: calcru: negative runtime of -2050259 usec for pid 45 (syncer)
Nov 15 20:04:03 kernel: calcru: negative runtime of -684085 usec for pid 44 (vnlru)
Nov 15 20:04:02 kernel: calcru: runtime went backwards from 34125248 usec to 28366752 usec for pid 42 (pagezero)
Nov 15 20:04:02 kernel: calcru: negative runtime of -684905 usec for pid 39 (pagedaemon)


I get that stuff in my logs every few seconds....I tried lots of suggested fixes from google but nothing seems to work...

Offline j0sh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Speed decline
« Reply #5 on: November 15, 2005, 02:47:22 pm »
BIOS is as up to date as it can be...It's a pretty old system. I just changed the CMOS battery and that didn't help either.

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: Speed decline
« Reply #6 on: November 19, 2005, 11:47:59 am »
It's an Adelphia business SB3 package.

I think the problem is with this:
Nov 15 20:04:02 kernel: calcru: negative runtime of -670163 usec for pid 279 (logger)
Nov 15 20:04:02 kernel: calcru: negative runtime of -7500955 usec for pid 278 (tcpdump)
Nov 15 20:04:02 kernel: calcru: negative runtime of -5475406 usec for pid 277 (pflogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -4023938 usec for pid 223 (syslogd)
Nov 15 20:04:02 kernel: calcru: negative runtime of -261 usec for pid 47 (nfsiod 1)
Nov 15 20:04:02 kernel: calcru: negative runtime of -2050259 usec for pid 45 (syncer)
Nov 15 20:04:03 kernel: calcru: negative runtime of -684085 usec for pid 44 (vnlru)
Nov 15 20:04:02 kernel: calcru: runtime went backwards from 34125248 usec to 28366752 usec for pid 42 (pagezero)
Nov 15 20:04:02 kernel: calcru: negative runtime of -684905 usec for pid 39 (pagedaemon)


I get that stuff in my logs every few seconds....I tried lots of suggested fixes from google but nothing seems to work...

Not that this should affect the non-shaper results, but ouch, this will definitely mangle the shaper if the clock is that messed up.  The shaper needs an accurate clock or it'll give too much or too little bandwidth to traffic.

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline thinair

  • Full Member
  • ***
  • Posts: 142
    • View Profile
    • nelsonpapel.com
Re: Speed decline
« Reply #7 on: November 20, 2005, 03:39:15 pm »
I also notice a fairly dramatic drop in throughput when I turn traffic shaping on.

When routing between two internal networks (LAN and DMZ) I get around 40-45Mb/s, when traffic shaping is on it's down to 3.5-3.6Mbps.  This is using NetCPS on either endpoint computer.  I have a 4.4Mb/s down and 0.8Mb/s up WAN link, so I just have kept traffic shaping off as well.

My hardware is a P3 500MHz Celeron, 128MB RAM, 256MB CF card, one 3com NIC.
Nelson Papel

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Speed decline
« Reply #8 on: November 20, 2005, 03:41:51 pm »
I also notice a fairly dramatic drop in throughput when I turn traffic shaping on.

When routing between two internal networks (LAN and DMZ) I get around 40-45Mb/s, when traffic shaping is on it's down to 3.5-3.6Mbps.  This is using NetCPS on either endpoint computer.  I have a 4.4Mb/s down and 0.8Mb/s up WAN link, so I just have kept traffic shaping off as well.

My hardware is a P3 500MHz Celeron, 128MB RAM, 256MB CF card, one 3com NIC.

There is a post in the forums that explains why this is the case.  It was written by Bill not even a few days ago.