Messages in this thread | | | From | <> | Subject | Re: kernel 2.6 speed | Date | Tue, 26 Jul 2005 01:55:18 -0400 |
| |
----- Original Message ----- From: "Florin Malita" <fmalita@gmail.com> To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org> Sent: Monday, July 25, 2005 12:10 AM Subject: Re: kernel 2.6 speed
> On 7/24/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > time() isn't a hot > > path in the real world. > > That's what you would expect but I've straced stuff calling > gettimeofday() in huge bursts every other second. Obviously braindead > stuff but so is "the real world" most of the time() ... :)
Anything time stamping things it processes many of will call some sort of time function pretty often. Could happen frequently with certain classes of applications. OS/2's "infoseg" approach was a pretty "high speed low drag" way to eliminate a trip into the kernel for all but the most esoteric time requirements.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |