Re: syscall gettimeofday

From: Perianayagam Somasundaram (somu_at_CS.Arizona.EDU)
Date: 10/19/05


Date: Tue, 18 Oct 2005 15:14:28 -0700
To: karbi <karbi791_spam@o2.pl>

What kind of a file system are you using?
Secondly, how did you measure that gettimeofday is the frequently
used system call from the application or did you instrument the
kernel itself.

Somu
*************************************************************************
"I've never understood how God could expect his creatures
 to pick the one true religion by faith - it strikes me as a
 sloppy way to run a universe."
Robert A. Heinlein
STRANGER IN A STRANGE LAND
*************************************************************************

On Tue, 18 Oct 2005, karbi wrote:

> I'm doing some research on system calls. I discovered that gettimeofday
> is second of most frequently used syscalls. It takes almost 16% of all
> syscalls. It is very frequently used by such applications like:
> xmms, XFree86, mozilla, OpenOffice and much more. Why is that so ?
>
> PS. Sorry for my poor english ;)
>
> --
> Micha³ **KArbi** Ostrowski
> mailto: karbi791_spam@o2.pl
> talkto: gg:1018951, jid:mic chrome.pl
>



Relevant Pages

  • Re: [kvm-devel] [PATCH][RFC] KVM: prepare user interface for smp guests
    ... I'd suggest going to a syscall-based model with your own file system right ... similar to eventpollfs, and hand out file descriptors to inodes in it, ... kernel changes for the development phase, and can easily switch to real ... I really think that a small number of syscalls is where you should be ...
    (Linux-Kernel)
  • Re: mysql scaling questions
    ... since everyone knows that syscalls are expensive ... be done in FreeBSD. ... to the file copy benchmarks ... In this particular instance I don't care about file system performance ...
    (freebsd-performance)