Re: [kvm-devel] [RFC PATCH 1/5] lguest: mmap backing file

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

 



Avi Kivity wrote:
> Anthony Liguori wrote:
>> Rusty Russell wrote:
>>  
>>> From: Paul TBBle Hampson <Paul.Hampson@xxxxxxxxx>
>>>
>>> This creates a file in $HOME/.lguest/ to directly back the RAM and 
>>> DMA memory
>>> mappings created by map_zeroed_pages.
>>>       
>>
>> I created a test program recently that measured the latency of a 
>> reads/writes to an mmap() file in /dev/shm and in a normal 
>> filesystem.  Even after unlinking the underlying file, the write 
>> latency was much better with a mmap()'d file in /dev/shm.
>>   
>
> Surely the difference disappears once the pages have been faulted in?

I don't recall.  I believe rewrite was okay but initial write was much 
worse.

Regards,

Anthony Liguori


_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux