Bug 803985 - [virtio-win][balloon]the speed of enlarging memory is much faster than the speed of evicting memory
Summary: [virtio-win][balloon]the speed of enlarging memory is much faster than the sp...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virtio-win
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-16 08:25 UTC by Mike Cao
Modified: 2012-03-18 11:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-18 11:01:37 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mike Cao 2012-03-16 08:25:36 UTC
Description of problem:


Version-Release number of selected component (if applicable):
2.6.32-252.el6.x86_64
qemu-kvm-0.12.1.2-2.248.el6rhev.x86_64
virtio-win-prewhql-23


How reproducible:
100%

Steps to Reproduce:
1.start guest with -m 8G
2.(qemu)balloon 1024
3.after step ,(qemu)balloon 8192
  
Actual results:
the speed of evicting memory is 53MB/Sec
the speed of enlarging memroy is 700MB/Sec

Expected results:
the speed of evicting memory and enlaring memory should be same .


Additional info:

Comment 2 Vadim Rozenfeld 2012-03-18 11:01:37 UTC
(In reply to comment #0)
> Description of problem:
> 
> 
> Version-Release number of selected component (if applicable):
> 2.6.32-252.el6.x86_64
> qemu-kvm-0.12.1.2-2.248.el6rhev.x86_64
> virtio-win-prewhql-23
> 
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1.start guest with -m 8G
> 2.(qemu)balloon 1024
> 3.after step ,(qemu)balloon 8192
> 
> Actual results:
> the speed of evicting memory is 53MB/Sec
> the speed of enlarging memroy is 700MB/Sec
> 
> Expected results:
> the speed of evicting memory and enlaring memory should be same .

Let me disagree, allocating memory from and releasing memory to non-paged
pool are not equal process in any terms. So you cannot expect both of
them to be performed at the same speed. BTW, while allocating (ballon inflating)
speed will vary, depending on the balloon size, size of free memory, and system load.    

Best regards,
Vadim.
 
> 
> 
> Additional info:


Note You need to log in before you can comment on or make changes to this bug.