Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgdat removing

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Lameter <cl@...>
Cc: Badari Pulavarty <pbadari@...>, Andrew Morton <akpm@...>, Mel Gorman <mel@...>, linux-mm <linux-mm@...>, Linux Kernel ML <linux-kernel@...>
Date: Friday, August 1, 2008 - 5:42 am

> Yasunori Goto wrote:

Yeap. It's the one of (big) cons.


Agree.

To tell the truth, I tried hackbench with 3rd patch which add rcu_read_lock
in hot-path before this post to make rough estimate its impact.

%hackbench 100 process 2000

without patch.
  39.93

with patch
  39.99
(Both is 10 times avarage)

I guess this result has effect of disable preemption.
So, throughput looks not so bad, but probably, latency would be worse
as you mind.

Kame-san advised me I should take more other benchmarks which can get memory
performance. I'll do it next week.


I thought it at first, but are there the following worst case?


   CPU 0                                    CPU 1
-------------------------------------------------------
__alloc_pages()
    
    parsing_zonelist()
        :
    enter page_reclarim()
    sleep (and remember zone)                 :
                                              :
                                        update zonelist and node_online_map
                                          with stop_machine_run()
                                        free pgdat().
                                        remove the Node electrically.

    wake up and touch remembered
       zone,  but it is removed
    (Oops!!!)



Anyway, I'm happy if there is better way than my poor idea. :-)

Thanks for your comment.


-- 
Yasunori Goto 


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgdat..., Christoph Lameter, (Thu Jul 31, 10:04 am)
Re: [RFC:Patch: 000/008](memory hotplug) rough idea of pgdat..., Yasunori Goto, (Fri Aug 1, 5:42 am)