GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LAT_SYSCALL(8) LMBENCH LAT_SYSCALL(8)

lat_syscall - time simple entry into the operating system

lat_syscall [ -P <parallelism> ] [ -W <warmups> ] [ -N <repetitions> ] null|read|write|stat|fstat|open [ file ]

null
measures how long it takes to do getppid(). We chose getppid() because in all UNIX variants we are aware of, it requires a round-trip to/from kernel space and the actual work required inside the kernel is small and bounded.
read
measures how long it takes to read one byte from /dev/zero. Note that some operating systems do not support /dev/zero.
write
times how long it takes to write one byte to /dev/null. This is useful as a lower bound cost on anything that has to interact with the operating system.
stat
measures how long it takes to stat() a file whose inode is already cached.
fstat
measures how long it takes to fstat() an open file whose inode is already cached.
open
measures how long it takes to open() and then close() a file.

Output format is

Null syscall: 67 microseconds

Funding for the development of this tool was provided by Sun Microsystems Computer Corporation.

lmbench(8).

Carl Staelin and Larry McVoy

Comments, suggestions, and bug reports are always welcome.

$Date$ (c)1994 Larry McVoy

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.