lkml.org 
[lkml]   [1998]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SYSENTER based syscalls patch, 2.1.105, RFC

On Thu, 18 Jun 1998, Andrea Arcangeli wrote:

> > [mingo@hal fastcall]$ ./fastcall
> > (INT $0x80 based getpid(), got pid 497) latency:282 cycles
> > (SYSENTER based getpid(), got pid 497) latency:138 cycles
>
> andrea@dragon:~$ ./a.out
> (INT $0x80 based getpid(), got pid 949) latency:115 cycles
> Illegal Instruction
> [...]
>
> On my 266 Mhz P5MMX I am going faster than your PII?!?! I am using a #SMP
> (no-SMP ;-) kernel but this should not change nothing since the test is
> done outside the kernel code...

yep. It's probably because on the PII it's more expensive to do
segmentation related stuff. And call gates (int $0x80) do _alot_ of that
stuff ...

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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