Date: Mon, 10 Mar 1997 16:24:49 -0800 From: David Greenman <dg@root.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it> Cc: bde@zeta.org.au (Bruce Evans), bag@sinbin.demos.su, hackers@freebsd.org Subject: Re: performance (was: 100 Mb/s cards) Message-ID: <199703110024.QAA18376@root.com> In-Reply-To: Your message of "Mon, 10 Mar 1997 21:38:32 %2B0100." <199703102038.VAA27659@labinfo.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
>About the following performance issue: > >> >> been able to get it to work. The Pro/100B is well supported; it's what I'm >> >> using in wcarchive and I haven't had any problems. It consumes about half >> >> the CPU time that the de driver does and has about the same level of > >the kernel is generally compiled with -O , I guess because of fear >of broken compiler optimizations. Would it be safe to compile >selected parts (e.g. network driver...) of relatively stable code >(so that an adequate test period could give confidence on its >performance) in the kernel with a more aggressive optimization so >as to improve performance of critical parts of the system ? I've never been able to measure a performance improvement by doing things like this. For the kernel, higher optimization levels seem to have the only effect of increasing compile time and reducing runtime stability. I suspect this is because most of the time is spent copying things around, so whatever minor gains that a couple of optimized instructions provide is well into the noise. Regarding the difference in performance between the de and fxp drivers, all I can say to this is that the code paths in the de driver are long and complicated. It's entirely likely that they have to be this way for whatever reason (I've not looked into improving it). The time reduction I measured with the fxp driver was primarily %interrupt, but there is a reduction in system time as well (too difficult to measure accuraterly on wcarchive, but perhaps 5-10%). -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703110024.QAA18376>