Re: [PATCH] cpuset confine pdflush to its cpuset

From: Hirokazu Takahashi
Date: Mon Oct 24 2005 - 01:03:09 EST


Hi Paul,

I realized CPUSETS has another problem around pdflush.

Some cpuset may make most of pages in it dirty, while the others don't.
In this case, pdflush may not start since the ratio of the dirty pages
in the box may be less than the watermark, which is defined globally.
This may probably make it hard to allocate pages from the cpuset
or the nodes it depends on. This wouldn't be good for NUMA machine
without cpusets either.

Do you have any plans about it?

> This patch keeps pdflush daemons on the same cpuset as their
> parent, the kthread daemon.
>
> Some large NUMA configurations put as much as they can of
> kernel threads and other classic Unix load in what's called a
> bootcpuset, keeping the rest of the system free for dedicated
> jobs.
>
> This effort is thwarted by pdflush, which dynamically destroys
> and recreates pdflush daemons depending on load.


Thanks,
Hirokazu Takahashi.
-
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/