1
linux/arch
Ingo Molnar 6cb54819d7 [PATCH] remove sys_set_zone_reclaim()
This removes sys_set_zone_reclaim() for now.  While i'm sure Martin is
trying to solve a real problem, we must not hard-code an incomplete and
insufficient approach into a syscall, because syscalls are pretty much
for eternity.  I am quite strongly convinced that this syscall must not
hit v2.6.13 in its current form.

Firstly, the syscall lacks basic syscall design: e.g. it allows the
global setting of VM policy for unprivileged users. (!) [ Imagine an
Oracle installation and a SAP installation on the same NUMA box fighting
over the 'optimal' setting for this flag. What will they do? Will they
try to set the flag to their own preferred value every second or so? ]

Secondly, it was added based on a single datapoint from Martin:

 http://marc.theaimsgroup.com/?l=linux-mm&m=111763597218177&w=2

where Martin characterizes the numbers the following way:

 ' Run-to-run variability for "make -j" is huge, so these numbers aren't
   terribly useful except to see that with reclaim the benchmark still
   finishes in a reasonable amount of time. '

in other words: the fundamental problem has likely not been solved, only
a tendential move into the right direction has been observed, and a
handful of numbers were picked out of a set of hugely variable results,
without showing the variability data. How much variance is there
run-to-run?

I'd really suggest to first walk the walk and see what's needed to get
stable & predictable kernel compilation numbers on that NUMA box, before
adding random syscalls to tune a particular aspect of the VM ... which
approach might not even matter once the whole picture has been analyzed
and understood!

The third, most important point is that the syscall exposes VM tuning
internals in a completely unstructured way. What sense does it make to
have a _GLOBAL_ per-node setting for 'should we go to another node for
reclaim'? If then it might make sense to do this per-app, via numalib or
so.

The change is minimalistic in that it doesnt remove the syscall and the
underlying infrastructure changes, only the user-visible changes.  We
could perhaps add a CAP_SYS_ADMIN-only sysctl for this hack, a'ka
/proc/sys/vm/swappiness, but even that looks quite counterproductive
when the generic approach is that we are trying to reduce the number of
external factors in the VM balance picture.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-01 10:03:56 -07:00
..
alpha [PATCH] new alpha syscalls 2005-07-27 18:24:24 -07:00
arm [ARM SMP] Ensure secondary CPUs see their pen release 2005-07-29 16:36:48 +01:00
arm26 [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
cris [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
frv [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
h8300 [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
i386 [PATCH] remove sys_set_zone_reclaim() 2005-08-01 10:03:56 -07:00
ia64 [PATCH] remove sys_set_zone_reclaim() 2005-08-01 10:03:56 -07:00
m32r [PATCH] m32r: add missing Kconfig help text 2005-07-27 16:25:59 -07:00
m68k [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
m68knommu [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
mips [PATCH] mips: remove obsolete GIU driver for vr41xx 2005-07-27 16:25:58 -07:00
parisc [PATCH] Add pcibios_bus_to_resource for parisc 2005-07-27 16:25:51 -07:00
ppc [PATCH] ppc32: fix 44x early serial debug for configurations with more than 512M of RAM 2005-07-30 10:14:46 -07:00
ppc64 [PATCH] ppc64: inotify syscalls 2005-07-30 10:14:46 -07:00
s390 [PATCH] s390: fix inline assembly in appldata 2005-07-29 15:01:15 -07:00
sh [PATCH] try_to_freeze() call fixes 2005-07-27 16:25:49 -07:00
sh64 [PATCH] try_to_freeze() call fixes 2005-07-27 16:25:49 -07:00
sparc [SPARC]: Add inotify syscall entries. 2005-07-27 14:14:39 -07:00
sparc64 [SPARC64]: Fix ugly dependency on NR_CPUS being a power-of-2. 2005-07-27 16:08:44 -07:00
um [PATCH] uml: fix vsyscall brokenness 2005-07-29 15:01:14 -07:00
v850 [PATCH] v850: Update PCI support 2005-07-27 16:26:03 -07:00
x86_64 [PATCH] x86_64: avoid wasting IRQs patch update 2005-07-30 13:37:50 -07:00
xtensa [PATCH] xtensa: use ssleep() instead of schedule_timeout() 2005-07-12 16:01:01 -07:00