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>] [day] [month] [year] [list]
Message-ID: <20080313152142.GB3148@localhost.sw.ru>
Date:	Thu, 13 Mar 2008 18:21:42 +0300
From:	Alexey Dobriyan <adobriyan@...ru>
To:	linux-kernel@...r.kernel.org
Subject: Not so fair group scheduling

Simple testcase:

a) 2 physical CPUs, not HT or something
b) root gets 1024 cpu_share according to /sys/kernel/uids/0/cpu-chare
c) user gets 1024 cpu_chare --//--

root runs 1 busy loop, user runs 2 busy loops
According to top they got 57% for root, and 66+77% for user. But they
should have 100%/50+50% division. Am I right?

If yes are there any patches to fix this available for testing?

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