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:	Fri, 30 Jan 2009 08:21:30 +0100 (CET)
From:	Jan Engelhardt <jengelh@...ozas.de>
To:	Nathanael Hoyle <nhoyle@...letech.com>
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: scheduler nice 19 versus 'idle' behavior / static low-priority
 scheduling


On Friday 2009-01-30 07:40, Nathanael Hoyle wrote:
>On Fri, 2009-01-30 at 07:16 +0100, Jan Engelhardt wrote:
>
>The one discussion I saw referencing SCHED_BATCH seemed to imply that it
>was a non-standard kernel patch by Con Kolivas in one of his -ck
>variants that never made it into mainline and is not being maintained.
>Is this inaccurate?

The presence of SCHED_BATCH in linux/sched.h tells me it is available
(on the other hand, SCHED_ISO, also from -ck, is only listed as a comment.)

>I was unfamiliar with SCHED_IDLE. Having done a little Googling now, I
>finally find reference to the man page for sched_setscheduler(2). This
>appears that it is likely what I wanted.
>
>I think the information I had been able to find was somehwat out of
>date.

The manpage does say it, but if your local distro does not 
mention SCHED_BATCH/SCHED_IDLE, then that's a pretty sad distro.

The doc in sched_setschedule seems complete to me as of man-pages 3.13.

>Is there currently a standardized userspace tool to use to run a command
>in order to alter its scheduling class? Obviously writing one would be
>trivial, but didn't know if something like:

man chrt
--
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