From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:32878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXOYO-00066b-6e for qemu-devel@nongnu.org; Sun, 04 Dec 2011 21:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXOYM-0002by-L3 for qemu-devel@nongnu.org; Sun, 04 Dec 2011 21:45:16 -0500 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:58576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXOYL-0002bX-Sq for qemu-devel@nongnu.org; Sun, 04 Dec 2011 21:45:14 -0500 Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 Dec 2011 02:42:35 +1000 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pB52fHO52396202 for ; Mon, 5 Dec 2011 13:41:17 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pB52iprc011742 for ; Mon, 5 Dec 2011 13:44:51 +1100 Message-ID: <4EDC3027.7060801@linux.vnet.ibm.com> Date: Mon, 05 Dec 2011 10:44:55 +0800 From: "Cao,Bing Bu" MIME-Version: 1.0 References: <4ECA0E46.1020400@linux.vnet.ibm.com> <4ECA2902.4000307@redhat.com> <4ECEF67E.6040805@gmail.com> <1322203344.2493.20.camel@vadimr.dell> <4ED42E3A.9060002@linux.vnet.ibm.com> <1322570196.30902.17.camel@vadimr.dell> In-Reply-To: <1322570196.30902.17.camel@vadimr.dell> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] windows guest virtio serial and balloon driver test issues List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vadim Rozenfeld Cc: Yan Vugenfirer , 'Dor Laor' , QEMU Developers , 'Ronen Hod' , "Cao, Bing Bu" , afrenkel@redhat.com, akong@redhat.com On 11/29/2011 08:36 PM, Vadim Rozenfeld wrote: > On Tue, 2011-11-29 at 08:58 +0800, Cao,Bing Bu wrote: >> Hi, >> >> Rozenfeld,Thanks,got it! >> >> And do you know whether there are some sufficient test tools (such >> as IOmeter) >> to test the virtio driver performance? > IoMeter is good. But you also might be interested in > SQLIOSim, database hammer, and diskio (part of WLK) + xperf. >> >> On 11/25/2011 02:42 PM, Vadim Rozenfeld wrote: >>> On Fri, 2011-11-25 at 09:59 +0800, Cao,Bing Bu wrote: >>>> Hi,all >>>> >>>> >>>> Thanks,Frenkel.The test application of the balloon must be run as >>>> admin. >>>> >>>> >>>> >>>> But I found 2 problems(question) this week when testing windows guest >>>> drivers: >>>> >>>> >>>> * >>>> If only virtio serial driver installed,the virtio serial test app >>>> can not enumerate/find the virtio serial device, >>>> but after virtio balloon driver installed,the app can find the >>>> virtio serial device correctly. >>>> Because of the same GUID which balloon and serial both use? >>> Correct. This test application is a very simplified one. We published it >>> mostly as an example, but not as a real test application. It doesn't >>> enumerate all virtio serial instances, rather just find the >>> first one and use it. >>>> >>>> * >>>> When inflate/deflate the balloon size using qemu monitor balloon >>>> command, >>>> the total physical memory did not decrease/increase >>>> correspondingly,as seen from "resource monitor", >>>> only the "available memory" size descrease/increase.But I test on >>>> other Linux guest, >>>> the total physical memory of the guest OS was changed. >>>> >>>> Is it a problem? If not,is it confusing to user? >>>> Related to the windows internal memory management? >>>> >>> Total physical memory on Windows will always be the same, >>> because we don't hot-plug/unplug physical memory. >>> Balloon driver works with non-paged pool memory instead. >>> So, every time you inflate or deflate balloon in your system, >>> you should see "Available memory" is changing, while physical >>> will always be the same. >>> >>> Best, >>> Vadim. >>> >>>> >>>> On 11/21/2011 06:33 PM, Arkady Frenkel wrote: >>>>> On 11/21/2011 10:39 AM, Cao,Bing Bu wrote: >>>>>> Hi, >>>>>> >>>>>> Recently,I am testing windows guest driver on Win7 and >>>>>> WinXP(32bit) with the latest windows guest driver development source. >>>>>> Download from >>>>>> http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/src/ >>>>>> >>>>>> >>>>>> virtio-blk: >>>>>> It seems OK both on Win7 and WinXP,the r/w performance is better >>>>>> than IDE disk. >>>>>> >>>>>> >>>>>> >>>>>> virtio-serial: >>>>>> I tried to test virtio serial driver using the test application in >>>>>> the project. >>>>>> >>>>>> WinXP: >>>>>> Write: OK >>>>>> Read: Error: Read File Failed. >>>>>> >>>>>> Win7: >>>>>> The test application return error "can not find vioserial device". >>>>>> But i debug the code and check that the GetDevicePath() return >>>>>> value is not NULL,and same as the value when testing on WinXP. >>>>>> Why the CreateFile() in init() not called? (: >>>>>> >>>>>> >>>>>> virtio-balloon: >>>>>> >>>>>> QEMU monitor: device_add virtio-balloon-pci >>>>>> >>>>>> On the guest,a new device "PCI standard RAM controller" added. >>>>>> But the Device Manager prompt "No driver installed for this >>>>>> device", but install the driver "balloon.sys" failed. >>>>>> It said the driver is up to date. Confused. (: >>>>>> >>>>>> How can I install and test the balloon driver on Windows? >>>>>> >>>>>> >>>>>> >>>>>> The kvm-guest-drivers-windows.git on kernel.org is not available,is >>>>>> there any mirror git repository? >>>>>> Any mail-list or bugzilla for windows guest driver? >>>>>> >>>>>> Any help from will be appreciated. >>>>>> >>>>>> >>>>> You need to run serial test app as admin only. >>>>> >>>>> To install balloon you have to go throw additional option when click on >>>>> "Browse my computer for driver software". Choose "Let me pick from the >>>>> list of device drivers on my computer" option. >>>>> >>>>> Arkady >>>>> >>>> Best regards >>>> Cao,Bing Bu >>>> >>> >> > Thanks you,Vadim.(: Is there anything TO-DO or need further optimization in current windows guest driver? How could I contribute to the windows guest driver development(test patches,sign-off patches,bug fix,etc.)? -- Best Regards, Cao,Bing Bu