SPL: Memory Allocator improvements

All your general support questions for OpenZFS on OS X.

SPL: Memory Allocator improvements

Postby haer22 » Sun Feb 19, 2017 1:23 pm

Does line in the Changelog: "SPL: Memory Allocator improvements (Sean Doran)" imply that the memory handling is smoother now? No more freezes?
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: SPL: Memory Allocator improvements

Postby lundman » Sun Feb 19, 2017 4:41 pm

We would like to believe we have solved most stutter problems with this version. There are 2 more commits after the release for a special case involving VMs.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: SPL: Memory Allocator improvements

Postby zenomt » Fri Feb 24, 2017 12:08 pm

i noticed after installing 1.6.1 on my Mavericks system that VirtualBox stopped working (the VBoxDrv kext aborts its startup when it tries to allocate some memory in "the first 4GB"). i ended up going back to 1.5.2 for now.

is the "special case involving VMs" expected to address this case?
zenomt
 
Posts: 7
Joined: Tue Feb 21, 2017 7:35 pm
Location: Santa Cruz, CA US

Re: SPL: Memory Allocator improvements

Postby Brendon » Sun Feb 26, 2017 12:47 am

I just installed virtualbox, and installed linux in a VM without issue. This is on a 2013 MacPro with 32GB of RAM. VM was stored on ZFS.

Could you please provide more details as to what you are experiencing.

- Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: SPL: Memory Allocator improvements

Postby zenomt » Sun Feb 26, 2017 1:16 pm

on a 2013 Mac Pro with 64GB of RAM, running Mac OS X 10.9.5 Mavericks. with O3X 1.6.1 installed and filesystems mounted (i didn't try with the ZFS drivers loaded but no pools imported), the VBoxDrv.kext (5.1.14 r112924 plus several earlier releases) wouldn't load. it printed out

supdrvGipCreate: failed to allocate the GIP page. rc=-71

-71 is VERR_MEMOBJ_INIT_FAILED. this error occurs in VirtualBox src/VBox/HostDrivers/Support/SUPDrvGip.cpp line 1881 of the 5.1.14 source tarball, after RTR0MemObjAllocCont() returns VERR_MEMOBJ_INIT_FAILED. RTR0MemObjAllocCont() is trying to allocate in the first 4GB of address space (presumably of physical memory in the kernel context). i don't believe it's trying to allocate all that much.

i tried repeatedly uninstalling and reinstalling VBox, including different versions, and also uninstalling/reinstalling O3X 1.6.1. the problem persisted. VBox loaded correctly after reverting to O3X 1.5.2.

i was curious what the "special case involving VMs" in lundman's post was referring to, and if it might be relevant for my situation. if nobody else is seeing this problem in later versions of Mac OS X, perhaps this is the push i need to upgrade. Mavericks is starting to get pretty stale. according to the O3X build-from-source instructions, it's too old (latest available Xcode for Mavericks is 6.2, 6.3+ is required to build).
zenomt
 
Posts: 7
Joined: Tue Feb 21, 2017 7:35 pm
Location: Santa Cruz, CA US

Re: SPL: Memory Allocator improvements

Postby Brendon » Sun Feb 26, 2017 1:38 pm

The "special case" is nothing to do with Virtualbox unfortunately. Just the continued war against memory fragmentation under certain conditions with all ZFS implementations.

- Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 30 guests