Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 10:00:35 -0700 (PDT)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        mike@sentex.net (Mike Tancsa)
Cc:        rizzo@aciri.org, freebsd-net@freebsd.org
Subject:   Re: How to increase TCP and UDP buffers (for IPv4/IPv6)
Message-ID:  <200110041700.f94H0ZQ45166@iguana.aciri.org>
In-Reply-To: <5.1.0.14.0.20011004122716.0408d470@marble.sentex.ca> from Mike Tancsa at "Oct 4, 2001 12:38:19 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> I guess in my case, the load average is general 0.00, but that is just 
> measuring userland activity no ?  Is there a way to allocate more CPU to 

yes... "top" should tell you how much time you spend in kernel space,
though, and that could be an indication.

> measuring userland activity no ?  Is there a way to allocate more CPU to 
> the kernel for routing ?  The box in question has some 100,000 routes, so I 

no, currently the kernel will use up to 100% of the CPU for that task.

> dont think I can implement fast_forwarding-- or am I thinking of something 
> else?

fast_forwarding helps in the sense that it bypasses the queue and
calls directly ip_input at interrupt time. The fact that it also
uses a cache for routes is only an optimization.

I am not sure how bad would it be to add code for full route lookups
in ipflow_fastforwarding, i might try and have a look at this
in a week or two once i am done with some (partly related)
work i am doing.

> Also, will removing ipv6 from the kernel make it more efficient acting as a 
> router ?

probably not much, i guess it is just an additional entry in a
switch() statement...

	cheers
	luigi

----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110041700.f94H0ZQ45166>