Re: FreeBSD box as router adding latency
From: Chris Dillon (cdillon_at_wolves.k12.mo.us)
Date: 02/26/04
- Previous message: Aloha Guy: "Re: FreeBSD box as router adding latency"
- In reply to: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Next in thread: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Reply: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 26 Feb 2004 16:02:46 -0600 (CST) To: Aloha Guy <alohaguy123@yahoo.com>
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.
-- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? _______________________________________________ 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"
- Previous message: Aloha Guy: "Re: FreeBSD box as router adding latency"
- In reply to: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Next in thread: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Reply: Aloha Guy: "Re: FreeBSD box as router adding latency"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|