lkml.org 
[lkml]   [2012]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 2/2] procfs: /proc/sched_debug fails on very very large machines.
On Tue, Nov 06, 2012 at 03:02:21PM -0600, Nathan Zimmer wrote:
> On systems with 4096 cores attemping to read /proc/sched_debug fails.
> We are trying to push all the data into a single kmalloc buffer.
> The issue is on these very large machines all the data will not fit in 4mb.
>
> A better solution is to not us the single_open mechanism but to provide
> our own seq_operations and treat each cpu as an individual record.

Good timing.

This looks like it would solve the problem I just reported here:
https://lkml.org/lkml/2012/11/6/390

That happens even on an 8-way, so it's not just niche machines that have
this problems.

Dave



\
 
 \ /
  Last update: 2012-11-06 22:41    [W:0.038 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site