* Re: [PATCH] cpuset confine pdflush to its cpuset
[not found] <20051024001913.7030.71597.sendpatchset@jackhammer.engr.sgi.com>
@ 2005-10-24 5:52 ` Hirokazu Takahashi
2005-10-24 6:32 ` Paul Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Hirokazu Takahashi @ 2005-10-24 5:52 UTC (permalink / raw)
To: pj; +Cc: akpm, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuset confine pdflush to its cpuset
2005-10-24 5:52 ` [PATCH] cpuset confine pdflush to its cpuset Hirokazu Takahashi
@ 2005-10-24 6:32 ` Paul Jackson
2005-10-24 6:40 ` Andrew Morton
0 siblings, 1 reply; 6+ messages in thread
From: Paul Jackson @ 2005-10-24 6:32 UTC (permalink / raw)
To: Hirokazu Takahashi
Cc: akpm, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
Takahashi-san wrote:
> I realized CPUSETS has another problem around pdflush.
Excellent observation. I had not realized this.
Thank-you for pointing it out.
I don't have plans. Do you have any suggestions?
( Anyone know what the "pd" stands for in pdflush ?? )
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuset confine pdflush to its cpuset
2005-10-24 6:32 ` Paul Jackson
@ 2005-10-24 6:40 ` Andrew Morton
2005-10-24 6:49 ` Paul Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2005-10-24 6:40 UTC (permalink / raw)
To: Paul Jackson; +Cc: taka, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
Paul Jackson <pj@sgi.com> wrote:
>
> Takahashi-san wrote:
> > I realized CPUSETS has another problem around pdflush.
>
> Excellent observation. I had not realized this.
>
> Thank-you for pointing it out.
>
> I don't have plans. Do you have any suggestions?
Per-zone dirty thresholds (quite messy), per-zone writeback (horrific,
linear searches or data structure proliferation everywhere).
Let's see a (serious) worload/testcase first, hey? vmscan.c writeback off
the LRU is a bit slow, but we should be able to make it suffice.
> ( Anyone know what the "pd" stands for in pdflush ?? )
"page dirty"? It's what bdflush became when writeback went from
being block-based to being page-based.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuset confine pdflush to its cpuset
2005-10-24 6:40 ` Andrew Morton
@ 2005-10-24 6:49 ` Paul Jackson
2005-10-24 7:13 ` Hirokazu Takahashi
0 siblings, 1 reply; 6+ messages in thread
From: Paul Jackson @ 2005-10-24 6:49 UTC (permalink / raw)
To: Andrew Morton
Cc: taka, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
Andrew wrote:
> Let's see a (serious) worload/testcase first, hey?
A reasonable request.
> > ( Anyone know what the "pd" stands for in pdflush ?? )
>
> "page dirty"? It's what bdflush became ...
Ah - thanks.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuset confine pdflush to its cpuset
2005-10-24 6:49 ` Paul Jackson
@ 2005-10-24 7:13 ` Hirokazu Takahashi
2005-10-24 7:37 ` Paul Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Hirokazu Takahashi @ 2005-10-24 7:13 UTC (permalink / raw)
To: pj; +Cc: akpm, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
Hi Paul,
> Andrew wrote:
> > Let's see a (serious) worload/testcase first, hey?
>
> A reasonable request.
Can you do this?
I think you may probably use a large NUMA machine.
> > > ( Anyone know what the "pd" stands for in pdflush ?? )
> >
> > "page dirty"? It's what bdflush became ...
>
> Ah - thanks.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpuset confine pdflush to its cpuset
2005-10-24 7:13 ` Hirokazu Takahashi
@ 2005-10-24 7:37 ` Paul Jackson
0 siblings, 0 replies; 6+ messages in thread
From: Paul Jackson @ 2005-10-24 7:37 UTC (permalink / raw)
To: Hirokazu Takahashi
Cc: akpm, Simon.Derr, linux-kernel, clameter, torvalds, linux-mm
Takahashi-san replied to pj:
> > A reasonable request.
>
> Can you do this?
> I think you may probably use a large NUMA machine.
In theory, yes. I certainly have access to large NUMA machines.
However, it is likely not a priority for me. My focus is on work that
will benefit workloads that do not depend on pdflush (except to want to
be sure that pdflush is -not- running in a cpuset containing a dedicated
job.)
That seems to keep me busy enough (and keep my employer paying me),
so I might never get to this problem. I might, but the odds are
not good.
Sorry.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-24 7:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20051024001913.7030.71597.sendpatchset@jackhammer.engr.sgi.com>
2005-10-24 5:52 ` [PATCH] cpuset confine pdflush to its cpuset Hirokazu Takahashi
2005-10-24 6:32 ` Paul Jackson
2005-10-24 6:40 ` Andrew Morton
2005-10-24 6:49 ` Paul Jackson
2005-10-24 7:13 ` Hirokazu Takahashi
2005-10-24 7:37 ` Paul Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox