Re: [Lse-tech] [PATCH] cpusets - big numa cpu and memory placement
From: Paul Jackson
Date: Thu Oct 07 2004 - 13:46:29 EST
> Two concrete examples for cpusets stick in my mind:
> * the department that has been given 16 cpus of a 128 cpu machine,
> is free to do what they want with them, and doesn't much care
> specifically how they're laid out. Think general timeshare.
> * the department that has been given 16 cpus of a 128 cpu machine
> to run a finely tuned application which expects and needs everybody
> to stay off those cpus. Think compute-intensive.
> Correct me if I'm wrong, but CKRM can handle the first, but cannot
> currently handle the second.
Even the first scenario is not well handled by CKRM, in my view, for
most workloads. On a 128 cpu, if you want 16 cpus of compute power, you
are much better off having that power on 16 specific cpus, rather than
getting 12.5% of each of the 128 cpus, unless your workload has very low
I think of it like this. Long ago, I learned to consider performance
for many of the applications I wrote in terms of how many disk accesses
I needed, for the disk was a thousand times slower than the processor
and dominated performance across a broad scale.
The gap between the speed of interior cpu cycles and external ram
access across a bus or three is approaching the processor to disk
gap of old. A complex hierarchy of caches has grown up, within and
surrounding each processor, in an effort to ameliorate this gap.
The dreaded disk seek of old is now the cache line miss of today.
Look at the advertisements for compute power for hire in the magazines.
I can rent a decent small computer, with web access and offsite backup,
in an air conditioned room with UPS and 24/7 administration for under
$100/month. These advertisements never sell me 12.5% of the cycles on
each of the 128 cpus in a large server. They show pictures of some nice
little rack machine -- that can be all mine, for just $79/month. Sign
up now with our online web server and be using your system in minutes.
[ hmmm ... wonder how many spam filters I hit on that last paragraph ... ]
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/