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]
Message-ID: <5519497D.5030909@oracle.com>
Date:	Mon, 30 Mar 2015 07:02:53 -0600
From:	David Ahern <david.ahern@...cle.com>
To:	Peter Zijlstra <peterz@...radead.org>
CC:	efault@....de, mingo@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] sched: Add cpu based entries to debugfs

On 3/30/15 1:44 AM, Peter Zijlstra wrote:
> On Sun, Mar 29, 2015 at 10:13:33PM -0400, David Ahern wrote:
>> Before spending too much time formalizing this I wanted to see if you guys
>> would entertain the idea of making this info available via debugfs. It does
>> move the existing sched_features file to sched/features -- not sure how
>> acceptable it is to move files in debugfs.
>
> There also already is a /proc/sys/kernel/sched_domain/ sysctl thing that
> has much of the stuff in.
>
> I'm not opposed to a debugfs thing, but only if we can take the sysctl
> thing out.
>

Related files I aware of; perhaps there are others:

- /sys/devices/system/cpu entries. e.g., for cpu topology (physical 
package id, core id, sibling cores and threads)

- debufs file for sched_features

- /proc/sys/kernel/sched_domain for tweaking scheduling parameters

I could not find anything that shows the sched_domain information. The 
proposal here was to create read-only debugfs files to dump the same 
info (but with better readability for large systems) that comes with the 
sched_debug parameter. I chose debugfs because a) sched_features is 
there and b) it is debug information about the scheduler.

I could just as easily out it under /proc/sys/kernel/sched_domain or 
create a sched subdir under /sys/devices/system/cpu/cpu$n if one of 
those is preferred.

David
--
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