Hi Robert,

Thanks for your response:)


Actually, I’d like to use tmpfs for ‘tachyon’, which is a ram based distributed 
file system that employs ramfs in linux-like system.


Can I just force the memory usage (including the tmpfs) lower than the physical 
memory to avoid paging out?


--------------------------------------------------------------
Best Regards
Haochen Zhang |Briphant Co., Ltd.
Tel: 13810051496 | Email: [email protected]
Beijing, China


Original Message
Sender:Robert [email protected]
Recipient:[email protected]
Date:Tuesday, Nov 10, 2015 23:03
Subject:Re: [smartos-discuss] Disable swap in user zone


On 11/10/15 6:32 , Haochen Zhang wrote:  Hi all,    I’d like to know if I can 
disable swap in a user zone, just like setting ‘vm.swappiness=0’ in CentOS? Hi, 
There's no direct analogue of this value in illumos. It's my understanding that 
setting it to zero on various Linux distributions doesn't actually mean that 
nothing will get paged out, just reduces the frequency. One of the major 
differences between Linux and illumos is in this part of the system, in part 
because mappings always reserve memory from swap such that we can guarantee 
that if we have to page something out, there is space for it and therefore we 
don't have to do things like the Linux OOM killer. As such, there's a few 
different approaches that you can take, but I don't think there's any universal 
way to guarantee that a user page will never be paged out. Robert 
------------------------------------------- smartos-discuss Archives: 
https://www.listbox.com/member/archive/184463/=now RSS Feed: 
https://www.listbox.com/member/archive/rss/184463/27557398-e0aa91a4 Modify Your 
Subscription: https://www.listbox.com/member/? Powered by Listbox: 
http://www.listbox.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to