[Tmem-devel] Hugepage support to tmem.

ash win ash_win012006 at yahoo.com
Thu Oct 21 15:53:55 PDT 2010


Hi Dan,

      Sorry for the late reply since we were busy in our college academics.
We would be doing this project (support for hugepages in tmem) and
soon will be submit our design to this community.
      
      We have gone through the code of hugepages or superpages support
in Xen. We found that whenever a domain requests a page of order = 0 or
order = 9, it tries to allocate super page or singleton page. No code exists
for order > 0 and order < 9.

       In our study, we also came across a point that if a domain requests a
2 MB page and it gets one, then the domain will not receive 4 KB page during
its stay , which means that a single domain cannot have simultaneous support
to both normal page and super pages. Is it really so? 
 
      Some part of the code says that if it’s not possible to allocate super 
page, 

then it allocates a linked list consisting of 512 4kB pages i.e. from 
PoD(1GB->2M 

or 2M->4k). The performance is improved in case of huge pages due to its
contiguity. But in the case above, does it mean that the performance is 
degraded? 

I think that in design consideration we need to solve this problem of splitting.

According to code such splitting is done in HAP, so what exactly happens in 
shadow mode?

--
With Regards,
Ashwin Vasani
B.E. (Fourth Year)
Computer  Engineering,
Pune Institute of Computer Technology.
+91 9960405802





More information about the Tmem-devel mailing list