* How should I proceed with page table caches?
@ 2005-03-14 17:27 Robin Holt
2005-03-14 18:48 ` David Mosberger
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Robin Holt @ 2005-03-14 17:27 UTC (permalink / raw)
To: linux-ia64
Tony and David,
Is there any chance I can do another push of the page table cache stuff
with the last bits of cleanup and those getting in without addressing
the removal of the cpu_idle() call? Neither solution I was given last
week seems particularly well fitted to the problem at hand. I would
like to get this in so I can continue working on the 4-level page table
directory I am really trying to address.
Thanks,
Robin Holt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How should I proceed with page table caches?
2005-03-14 17:27 How should I proceed with page table caches? Robin Holt
@ 2005-03-14 18:48 ` David Mosberger
2005-03-14 19:04 ` Chen, Kenneth W
2005-03-14 19:18 ` Robin Holt
2 siblings, 0 replies; 4+ messages in thread
From: David Mosberger @ 2005-03-14 18:48 UTC (permalink / raw)
To: linux-ia64
>>>>> On Mon, 14 Mar 2005 11:27:33 -0600, Robin Holt <holt@sgi.com> said:
Robin> Tony and David, Is there any chance I can do another push of
Robin> the page table cache stuff with the last bits of cleanup and
Robin> those getting in without addressing the removal of the
Robin> cpu_idle() call? Neither solution I was given last week
Robin> seems particularly well fitted to the problem at hand. I
Robin> would like to get this in so I can continue working on the
Robin> 4-level page table directory I am really trying to address.
From memory, the last version I saw looked pretty decent to me.
I agree with Ken's concerns, but given that we have historically done
page-table cache shrinking from cpu_idle(), your patch doesn't worsen
the situation (unless I'm missing something), so I think that concern
could be addressed separately.
--david
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: How should I proceed with page table caches?
2005-03-14 17:27 How should I proceed with page table caches? Robin Holt
2005-03-14 18:48 ` David Mosberger
@ 2005-03-14 19:04 ` Chen, Kenneth W
2005-03-14 19:18 ` Robin Holt
2 siblings, 0 replies; 4+ messages in thread
From: Chen, Kenneth W @ 2005-03-14 19:04 UTC (permalink / raw)
To: linux-ia64
David Mosberger wrote on Monday, March 14, 2005 10:49 AM
> >>>>> On Mon, 14 Mar 2005 11:27:33 -0600, Robin Holt <holt@sgi.com> said:
>
> Robin> Tony and David, Is there any chance I can do another push of
> Robin> the page table cache stuff with the last bits of cleanup and
> Robin> those getting in without addressing the removal of the
> Robin> cpu_idle() call? Neither solution I was given last week
> Robin> seems particularly well fitted to the problem at hand. I
> Robin> would like to get this in so I can continue working on the
> Robin> 4-level page table directory I am really trying to address.
>
> From memory, the last version I saw looked pretty decent to me.
>
> I agree with Ken's concerns, but given that we have historically done
> page-table cache shrinking from cpu_idle(), your patch doesn't worsen
> the situation (unless I'm missing something), so I think that concern
> could be addressed separately.
I plan to look at set_shrinker API. But please don't make that as a gating
factor for Robin's patch since I'm not sure when I will be able to get to it
or whether set_shrinker can actually solve the problem (it appears that it
has all the necessary infrastructure).
- Ken
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How should I proceed with page table caches?
2005-03-14 17:27 How should I proceed with page table caches? Robin Holt
2005-03-14 18:48 ` David Mosberger
2005-03-14 19:04 ` Chen, Kenneth W
@ 2005-03-14 19:18 ` Robin Holt
2 siblings, 0 replies; 4+ messages in thread
From: Robin Holt @ 2005-03-14 19:18 UTC (permalink / raw)
To: linux-ia64
On Mon, Mar 14, 2005 at 11:04:40AM -0800, Chen, Kenneth W wrote:
> David Mosberger wrote on Monday, March 14, 2005 10:49 AM
> > >>>>> On Mon, 14 Mar 2005 11:27:33 -0600, Robin Holt <holt@sgi.com> said:
> >
> > Robin> Tony and David, Is there any chance I can do another push of
> > Robin> the page table cache stuff with the last bits of cleanup and
> > Robin> those getting in without addressing the removal of the
> > Robin> cpu_idle() call? Neither solution I was given last week
> > Robin> seems particularly well fitted to the problem at hand. I
> > Robin> would like to get this in so I can continue working on the
> > Robin> 4-level page table directory I am really trying to address.
> >
> > From memory, the last version I saw looked pretty decent to me.
> >
> > I agree with Ken's concerns, but given that we have historically done
> > page-table cache shrinking from cpu_idle(), your patch doesn't worsen
> > the situation (unless I'm missing something), so I think that concern
> > could be addressed separately.
>
>
> I plan to look at set_shrinker API. But please don't make that as a gating
> factor for Robin's patch since I'm not sure when I will be able to get to it
> or whether set_shrinker can actually solve the problem (it appears that it
> has all the necessary infrastructure).
The problem really lies with the shrinker() callback being called from
shrink_slab. We are not really a slab. What would be ideal is adding
the callback to shrink_caches() which preserves the zone information.
From that, we could target just the cpus on that node (one of the patches
throws away pages not from the cpus node).
Thanks,
Robin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-14 19:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14 17:27 How should I proceed with page table caches? Robin Holt
2005-03-14 18:48 ` David Mosberger
2005-03-14 19:04 ` Chen, Kenneth W
2005-03-14 19:18 ` Robin Holt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox