Re: FreeBSD box as router adding latency

From: Aloha Guy (alohaguy123_at_yahoo.com)
Date: 02/27/04

  • Next message: Donald McLachlan: "Re: IPv6 multicast sendto() 'operation not supported'"
    Date: Thu, 26 Feb 2004 22:36:25 -0800 (PST)
    To: Chris Dillon <cdillon@wolves.k12.mo.us>
    
    

    Chris Dillon <cdillon@wolves.k12.mo.us> wrote: On Thu, 26 Feb 2004, Aloha Guy wrote:

    > > What do you have HZ set to (see sysctl kern.clockrate)? I think I
    > > remember your original message showing you using pipes and queues
    > > and the HZ setting can affect those. Also see if your latency
    > > improves if you remove all pipe and queue rules (other ipfw rules
    > > are OK).
    >
    >
    > Here is the HZ setting:
    >
    > kern.clockrate: { hz = 100, tick = 10000, profhz = 1024, stathz = 128 }
    >
    > I'm not sure how to remove the pipe since I don't think the pipe
    > works until the queue is defined. When I removed the queues that
    > are configured for the pipe, the latency is back to normal though.

    Like I said, remove both pipes and queues to test. However, pipes
    _can_ be used without queues, but that is irrelevant here. Try
    setting HZ to 1000 in your kernel config, recompile, reboot, and test
    again. You should see something between a slight improvement to a
    ten-fold improvement.

    Already tried that and it did improve things a little. I tried setting the HZ to 1000 and it didn't make much of a difference. Is there a larger number that actually works well?

    Thanks,

    John

    ---------------------------------
    Do you Yahoo!?
    Get better spam protection with Yahoo! Mail
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Donald McLachlan: "Re: IPv6 multicast sendto() 'operation not supported'"

    Relevant Pages

    • Re: FreeBSD box as router adding latency
      ... >> remember your original message showing you using pipes and queues ... remove both pipes and queues to test. ... You should see something between a slight improvement to a ...
      (freebsd-net)
    • Re: FreeBSD box as router adding latency
      ... >> remember your original message showing you using pipes and queues ... remove both pipes and queues to test. ... You should see something between a slight improvement to a ...
      (freebsd-questions)
    • Re: dummynet
      ... > I tried using queues for port specification while specifying pipes ... > pipes to the queues, ... > dummynet in ipfw and dummynet man pages, if anyone knows of a good ...
      (freebsd-questions)
    • Re: FreeBSD box as router adding latency
      ... >> remember your original message showing you using pipes and queues ... remove both pipes and queues to test. ... You should see something between a slight improvement to a ... Get better spam protection with Yahoo! ...
      (freebsd-questions)
    • Re: Newbie Pipemaker
      ... Where could a person buy one of your pipes, ... Set up a website ... ... If your in the business to sell pipes then be in ... people were interested and all you did was give a yahoo email address ...
      (alt.smokers.pipes)