lkml.org 
[lkml]   [2005]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: kernel 2.6 speed
Date
----- 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/

\
 
 \ /
  Last update: 2005-07-26 07:57    [W:0.246 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site