[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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".


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [W:0.121 / U:3.924 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site