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] Re: /proc/uptime
- Date: Wed, 12 Nov 2008 23:23:16 +0900
- From: Edward Middleton <emiddleton@example.com>
- Subject: Re: [tlug] Re: /proc/uptime
- References: <78d7dd350811111815y11b471ek31c44c4443d2dca5@mail.gmail.com> <87bpwlpqnm.fsf-genuine-vii@john.fremlin.org> <78d7dd350811112048y1bcb2717j19af91dcda1ab257@mail.gmail.com> <877i79pkwz.fsf-genuine-vii@john.fremlin.org> <78d7dd350811112354t3d1555c7s2164a3045373eaf3@mail.gmail.com> <87vdutnk32.fsf-genuine-vii@john.fremlin.org> <78d7dd350811120600i66663e1dka71952f6fa789418@mail.gmail.com>
- User-agent: Thunderbird 2.0.0.16 (X11/20080815)
Nguyen Vu Hung wrote: > On Wed, Nov 12, 2008 at 10:35 PM, John Fremlin <john@example.com> wrote: >>> My understanding is that: the second number in /proc/uptime indicates >>> the time that the kernel has nothing to do in the *kernel >>> mode*. Network activities, file systems activities are all in user >>> mode so it is nothing to do with /proc/uptime. >> No. It indicates the amount of time any one of the cores has nothing to >> do. > Is this a good design? I think no. I will replace OR with AND. > Not every recently applications are SMP aware, and some never is. Its not an SMP problem, your IO is not fast enough so your CPU is mostly doing nothing waiting for data. >> Look at the top output to see the instantaneous load. > I am running 2.6.18 on a Pen 4 and a Dual Xeon and I observe that > in put output of "top and press 1", the second CPU( or core in case of Pen 4) > is idle most of the time, but the first CPU is not: there is always > some activites > ( 9x.x% id but not 100%) How many processes/threads do you have. If you have only one large process then soft affinity will try to run it on the same CPU because it is more efficient then spreading it evenly over both CPUs. Edward
- References:
- [tlug] /proc/uptime
- From: Nguyen Vu Hung
- [tlug] Re: /proc/uptime
- From: John Fremlin
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
- [tlug] Re: /proc/uptime
- From: John Fremlin
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
- [tlug] Re: /proc/uptime
- From: John Fremlin
- Re: [tlug] Re: /proc/uptime
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: /proc/uptime
- Next by Date: Re: [tlug] Microcontrollers + linux
- Previous by thread: Re: [tlug] Re: /proc/uptime
- Next by thread: Re: [tlug] Re: /proc/uptime
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links