S: Is there any chance of you trying device polling??

"A very nice feature of FreeBSD's kernel is also the DEVICE_POLLING kernel option, 
which basically means that the system will not treat any interrupt coming from the 
network cards independently, but rather 'poll' the devices at certain intervals of 
times. That saves a lot of system activity. You might also consider tweaking with the 
"option HZ", and also enabling 'kern.polling.enable' and 'kenr.polling.user_frac'. 
Unfortunately, DEVICE_POLLING works only with certain NICs, but I've experienced very 
good results with the Intel EtherExpress (fxp)." (http://www.bogdant.net/freebsd.html)

Given you're both playing with the fxp driver, and the only diff seems to be D_P, it's 
worth a try, right?

-----Burton

---------- Original Message ----------------------------------
From: Stanley Hopcroft <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 10 Nov 2003 22:05:02 +1100

>Dear Sir,
>
>I am writing to thank yuo for your words and say,
>
>On Mon, Nov 10, 2003 at 11:41:41AM +0100, David Touitou wrote:
>> > The problem FreeBSD for me is 4.8-RELEASE-p13.
>> 
>> I've had no CPU problem on FreeBSD 4.9-PRERELEASE, 4.9-RC or 4.9-STABLE.
>> 
>> With device_polling enabled, hz=1000 (or hz=2000) in the kernel file.
>> P3-733 CPU (133MHz FSB) and fxp cards.
>> 
>> I'm "sniffing" 10Mbps of bandwidth, CPU usage is less than 30%.
>>
>
>That's good news.
>
>The details in my case are
>
>NIC/driver     fxp
>
>Device polling No
>
>OS             4.8-RELEASE-p13
>
>Hardware       p5/166 Mhz/slow FSB/slow RAM
>
>bandwidth      <= 128 kbps (ethernet port
>               of WAN router, filtered for off
>               LAN traffic)
>
>CPU usage      30-50% when there is a file
>               copy (scp of a 1-2 MB file)
>
>ntop           CVS from 17 Oct 2003
>
>Other notes    ntop 2.2 on same hardware/OS
>               does use more than 20% CPU -
>               when daemonising - and not
>               when there are traffic flows
>               far greater than this.
>
>Is there any chance of your trying RELENG_4_8 (4.8-RELEASE-p13) ?
>
>In view of the age of my ntop platforms (reused terminal servers) and
>the problems with the ata driver (shudder) I was hoping to wait a good
>long time before going to 4.9-RELEASE.
>
>Yours sincerely.
>
>-- 
>------------------------------------------------------------------------
>Stanley Hopcroft
>------------------------------------------------------------------------
>
>'...No man is an island, entire of itself; every man is a piece of the
>continent, a part of the main. If a clod be washed away by the sea,
>Europe is the less, as well as if a promontory were, as well as if a
>manor of thy friend's or of thine own were. Any man's death diminishes
>me, because I am involved in mankind; and therefore never send to know
>for whom the bell tolls; it tolls for thee...'
>
>from Meditation 17, J Donne.
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://listgateway.unipi.it/mailman/listinfo/ntop
>


____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to