Date: Thu, 5 Nov 1998 20:15:03 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Marc Slemko <marcs@znep.com> Cc: "Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?=" <dag-erli@ifi.uio.no>, David Greenman <dg@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf options param.c src/sys/kern init_sysent.c syscalls.c syscalls.master uipc_syscalls.c src/sys/sys mbuf.h socket.h socketvar.h syscall-hide.h syscall.h syscall.mk sysproto.h src/sys/vm vm_object.c Message-ID: <199811060415.UAA00826@apollo.backplane.com> References: <Pine.BSF.4.03.9811051926030.11835-100000@alive.znep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:When I have access to a system I also plan to implement it in Apache to
:see what sort of difference it makes.
:
:While the ideal implementation won't be until Apache 2.0, it will be
:interesting to see just what impact this has with the current Apache.
I'm sure it will make a huge difference in the benchmarks, but I doubt
you would notice much of a difference in real-life performance except
in the most extreme installations. Cpu's are cheap, physical I/O limits
are usually more important because its the first thing web servers tend
to hit.
The only time cpu becomes an issue is when the dataset being served is
small enough to fit in system memory. Then disk I/O becomes irrelevant
and the issue becomes a pure cpu and network problem.
Unfortunately, it is still mostly irrelevant because the cost of pushing
a megabyte a second out to the internet is several thousand dollars a month
and the cost of the cpu required to back that push is less then $200.
The only situation that I can think of where sendfile() would be
significant in a real-life situation is when it is used to serve an
internal network... for example, to serve video or music mpegs off of
a cheap machine inside an office. In this case your major cost is the
machine and not the network, so being able to use a cheap cpu can save
you significant money.
-Matt
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications & God knows what else.
<dillon@backplane.com> (Please include original email in any response)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811060415.UAA00826>
