lkml.org 
[lkml]   [2007]   [Dec]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 12 Dec 2007 09:55:47 +0000
FromLuciano Rocha <>
SubjectRe: [RFT] Port 0x80 I/O speed
On Wed, Dec 12, 2007 at 12:31:18AM +0100, Rene Herman wrote:
>  Good day.
> 
>  Would some people on x86 (both 32 and 64) be kind enough to compile and run 
>  the attached program? This is about testing how long I/O port access to port 
>  0x80 takes. It measures in CPU cycles so CPU speed is crucial in reporting.
> 

$ sudo ./port80
cycles: out 2729, in 1872
$ sudo ./port80
cycles: out 2729, in 1872
$ sudo ./port80
cycles: out 2711, in 1856
$ sudo ./port80
cycles: out 2711, in 1856

model name      : Intel(R) Pentium(R) 4 CPU 1.90GHz
stepping        : 2
cpu MHz         : 1917.229
cache size      : 256 KB

-- 
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-12-12 11:05    [from the cache]
©2003-2008