lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 17 Oct 2007 09:23:24 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Ken Chen <kenchen@...gle.com>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [patch] sched: schedstat needs a diet


* Ken Chen <kenchen@...gle.com> wrote:

> schedstat is useful in investigating CPU scheduler behavior.  Ideally, 
> I think it is beneficial to have it on all the time.  However, the 
> cost of turning it on in production system is quite high, largely due 
> to number of events it collects and also due to its large memory 
> footprint.
> 
> Most of the fields probably don't need to be full 64-bit on 64-bit 
> arch.  Rolling over 4 billion events will most like take a long time 
> and user space tool can be made to accommodate that.  I'm proposing 
> kernel to cut back most of variable width on 64-bit system.  (note, 
> the following patch doesn't affect 32-bit system).

thanks, applied.

note that current -git has a whole bunch of new schedstats fields in 
/proc/<PID>/sched which can be used to track the exact balancing 
behavior of tasks. It can be cleared via echoing 0 to the file - so 
overflow is not an issue. Most of those new fields should probably be 
unsigned int too. (they are u64 right now.)

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ