Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Mar 1998 22:15:05 -0700
From:      "M. Warner Losh" <imp@village.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Marc Slemko <marcs@znep.com>, hackers@FreeBSD.ORG
Subject:   Re: kernel wishlist for web server performance 
Message-ID:  <199803090515.WAA04129@pencil-box.village.org>
In-Reply-To: Your message of "Sat, 07 Mar 1998 21:54:12 PST." <199803080554.VAA08633@dingo.cdrom.com> 
References:  <199803080554.VAA08633@dingo.cdrom.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199803080554.VAA08633@dingo.cdrom.com> Mike Smith writes:
: I appreciate the conceptual niceness of what you're describing, but I 
: guess I'm not convinced that something like that would be worth the 
: cruft and effort involved.

On most modern systems that I've played with, copy avoidance doesn't
really help much at all.  bcopy and friends run at about 50-75MB/s,
while most networking and/or disk protocols are lucky to get into the
5-10M range (sustained).  the copies that you are avoiding don't
really hurt much and would be difficult to measure for most
applications.  I have had great difficulty speeding up a driver that I
wrote for Solaris by eliminating some bcopy() calls.  They tend not to
be all that important for most applications.[*]

Warner

[*] if you are still running on 25MHz processors in embedded systems
or on really slow hardware, this statement is completely bogus...

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



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