xen-devel
[Xen-devel] Fix mem_sharing on Xen 4.0.0
To: |
xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] Fix mem_sharing on Xen 4.0.0 |
From: |
MaoXiaoyun <tinnycloud@xxxxxxxxxxx> |
Date: |
Wed, 12 Jan 2011 16:01:51 +0800 |
Cc: |
keir.fraser@xxxxxxxxxxxxx, tim.deegan@xxxxxxxxxx, juihaochiang@xxxxxxxxx |
Delivery-date: |
Wed, 12 Jan 2011 00:02:45 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
Importance: |
Normal |
In-reply-to: |
<BLU157-w33BF2EDA8572B8E418D084DA0F0@xxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<AANLkTinMp1v1zex2BfcUuszotPuxJFWZQNUp40gu_gxL@xxxxxxxxxxxxxx>, <20110106165450.GO21948@xxxxxxxxxxxxxxxxxxxxxxx>, <AANLkTinmpiusLqegGZA+bZWpDXPM+7Wq2nt8MZa0Ocet@xxxxxxxxxxxxxx>, <AANLkTinf-A_4NEPQeCw0pftM5Bks8BYPRhMx3-stTHxa@xxxxxxxxxxxxxx>, <20110107160949.GD5651@xxxxxxxxxxxxxxxxxxxxxxx>, <AANLkTikbQbRjmzbJ1g3QzYzLC-5ax9zhdYOKc2okt3bQ@xxxxxxxxxxxxxx>, <20110110103041.GE5651@xxxxxxxxxxxxxxxxxxxxxxx>, <BLU157-w33BF2EDA8572B8E418D084DA0F0@xxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi:
I've been trying to fix memory sharing on xen for a few days.
Now it works on my box, I'd like to share the patches.
Attached is the fix for code of tools in xen.(Sorry, I don't know how to make git patches.)
Also you should apply the patch of http://lists.xensource.com/archives/html/xen-devel/2010-12/msg00149.html
Currently, I am able to start 24 HVMS(each of which memory=512, maxmem=2048)
After all VMS start, Xen info shows that without mem_sharing, the free memory is 7486
and with mem_sharing, free is 9000, so 1.5G memory is saved.
Remember, you should start the blktap/drivers/blktapctrl first, since it is enable hash share between tapdisk process.
also add memory_sharing into your HVM file to enable sharing.
thanks.
|
tools.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, (continued)
- [Xen-devel] re: [PATCH] mem_sharing: fix race condition of nominate and unshare, tinnycloud
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, Jui-Hao Chiang
- [Xen-devel] re: [PATCH] mem_sharing: fix race condition of nominate and unshare, tinnycloud
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, Jui-Hao Chiang
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, Tim Deegan
- [Xen-devel] RE: [PATCH] mem_sharing: fix race condition of nominate and unshare, MaoXiaoyun
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, Tim Deegan
- [Xen-devel] RE: [PATCH] mem_sharing: fix race condition of nominate and unshare, MaoXiaoyun
- [Xen-devel] Re: [PATCH] mem_sharing: fix race condition of nominate and unshare, Jui-Hao Chiang
|
|
|