Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bogus load data
- Date: Tue, 12 Sep 2006 23:44:51 +0900
- From: Junichi Uekawa <dancer@example.com>
- Subject: Re: [tlug] Bogus load data
- References: <d8fcc0800609120055u6c88d1bat3ff1cdaf9bfaf523@example.com>
- User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/21.4 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)
Hi, > So, thoughts? This is extremely unscientific, but do you think it > might give some indication of a problem on a system that is *really* > heavily loaded? My idea was that if the system was busy, this would > report trying to sleep for a short time, but actually sleeping for a > much longer one, due to slow context switches. The "sleep(1);" line at > the end of the main loop is to ensure at least one context switch > occurs between usleep() syscalls. #include <sched.h> sched_yield() might give more interesting results; although it really depends on what you're after. regards, junichi -- dancer@{debian.o??,netfort.gr.jp} Debian Project
- Follow-Ups:
- Re: [tlug] Bogus load data
- From: Josh Glover
- References:
- [tlug] Bogus load data
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Read my Firefox's cache contents on Linux
- Next by Date: Re: [tlug] Bogus load data
- Previous by thread: [tlug] Bogus load data
- Next by thread: Re: [tlug] Bogus load data
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links