Skip to contentSkip to conversation

virtual frame_table?

DISCUSSION Alex Williamson 2 participants 3 messages Aug 26, 2009 – Aug 27, 2009

lore
Share & tools
lore
#0 lore raw

On ia64 we had a virtual frame_table to allow for better handling of sparse memory configs. Has x86 considered anything similar? I see that init_frametable() is currently allocating 32bytes per page for everything up to max_page. This can consume a pretty significant chunk of memory if nodes are discontiguous. Anyone motivated to fix it? Thanks,

Alex

#1 lore raw
Quoted 5 lines · Alex Williamson

On ia64 we had a virtual frame_table to allow for better handling of sparse memory configs. Has x86 considered anything similar? I see that init_frametable() is currently allocating 32bytes per page for everything up to max_page. This can consume a pretty significant chunk of memory if nodes are discontiguous. Anyone motivated to fix it?

Easily fixed if there's a reason to. Not really many x86 systems have discontiguous memory.

K.

#2 lore raw
Quoted 10 lines · Keir Fraser
Quoted 5 lines · Alex Williamson

On ia64 we had a virtual frame_table to allow for better handling of sparse memory configs. Has x86 considered anything similar? I see that init_frametable() is currently allocating 32bytes per page for everything up to max_page. This can consume a pretty significant chunk of memory if nodes are discontiguous. Anyone motivated to fix it?

Easily fixed if there's a reason to. Not really many x86 systems have discontiguous memory.

Right, but commodity systems are definitely getting bigger quickly, and it's only a matter of time. I'll toss in my vote that the frame_table should be optimized sooner rather than later. I might even be able to test it on a system that's wasting more memory than we'd like there. Thanks,

Alex