[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Hugepage support to tmem.


  • To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
  • From: ash win <ash_win012006@xxxxxxxxx>
  • Date: Fri, 22 Oct 2010 04:23:55 +0530 (IST)
  • Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx, ashwin <vasani.ashwin@xxxxxxxxx>, tmem-devel@xxxxxxxxxxxxxx
  • Delivery-date: Thu, 21 Oct 2010 15:54:48 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AXmvpGiCP7rOiEQPkN8SUcEaNZ4T6OTSvxZf1QXzTGIlUqd4QE2SNeDc8uF9Tfw19xjNU4W7N9Dv78kdBMyPvCsI94rekhVnf0rMh5fP4kSYAVkugIkeQvIrElcOrDsMhE1GwKzWdA92IdnvzOffgHh6B9sXh86euKdRyKrOYz0=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.