lkml.org 
[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] fastcall-2.3.32-B6, SYSENTER/SYSEXIT support


On Sun, 12 Dec 1999, Pavel Machek wrote:
> >
> > Who cares how fast you can do "getpid()"? NOBODY. It's meaningless.
>
> Well, read from cached file is _not_ meaningless, still Ingo seen
> improvements on that.

Not really.

You see improvements on the order of a percent or two IFF:
- you do small reads
- in a tight loop

Ergo, that benchmark was really not worth it either.

> I think you should concentrate on read(), write() and select()
> syscalls. Those are the ones done often.

I mostly agree, although gettimeofday() under X is actually _the_ most
common one. But gettimeofday() is special anyway, simply because it
doesn't actually need to do a kernel entry, so the three you mention are
certainly "basic".

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans