Skip to contentSkip to conversation

sysload accounting broken in bfs v0.422‏

BUG Micheal Blue 1 participant 1 message Jun 11, 2012

lore
Share & tools
lore
#0 lore raw

Indeed it is fixed. Good job sir. Do you know what causes htop to ignore running processes in the table view but show them correctly in the progress graphs? You can see this bug when you are compiling and have htop sorting by CPU% use. Works just fine with the kernel.org kernel but as soon as bfs is enabled, the bug is there :/

Quoted 34 lines

----- Original Message -----
From: Con Kolivas
Sent: 06/10/12 08:03 PM
To: Micheal Blue
Subject: Re: [BUG] sysload accounting broken in bfs v0.422‏

Quoted 11 lines · Con Kolivas
Quoted 10 lines · Micheal Blue

Bug to report with bfs v0.422: no sysload even when compiling on a quad core with 4 threads.  This bug also affects htop.

$ uptime
15:58:10 up 7:52, 2 users, load average: 0.00, 0.00, 0.00
$ cat /proc/loadavg
0.00 0.00 0.00 6/336 31689

Link to bfs patch: http://ck.kolivas.org/patches/bfs/3.4.0/3.4-sched-bfs-422.patch

Quoted 8 lines
Quoted 1 line

I think this is a long standing bug with bfs actually.

Thanks. It's a known bug that started with 422. If I ever find time to code on bfs in the near future I'll fix it. If this is unacceptable to you please use an earlier kernel with bfs or don't use bfs at all. If someone else wishes to debug it in the interim, be my guest as it's likely a very trivial bug introduced in the 420-422 changes which were necessary to merge with linux 3.4

This is fixed in BFS 423 and 3.4-ck2:

http://ck.kolivas.org/patches/bfs/3.4.0/3.4-sched-bfs-423.patch
http://ck.kolivas.org/patches/3.0/3.4/3.4-ck2/

--
-ck