Page 2 of 2

Re: UI lag and jerky mouse

PostPosted: Wed Jun 15, 2016 4:21 pm
by Brendon
Build looks correct so far.

Perhaps change the SPL initialisation code to also print "cmckay was here", then you can check the system logs/dmesg and know for sure that you're running your binaries.

- Brendon

Re: UI lag and jerky mouse

PostPosted: Thu Jun 16, 2016 11:26 am
by cmckay
After rebooting, and some other messing around, I was able to get the version I compiled loaded. It would be nice if the uninstaller worked properly. Anyway, changing PAGESIZE to 6 reduced jerkiness, but didn't solve it, and changing to 7 almost completely solved it. Very occasionally I will still get a very brief lag, but it is really quite good and usable now. I'm satisfied, thanks for your help!

Addressing Brenden's suggestion that the USB bus was overloaded, I can say that I could read and write at > 300MB/s on the same hardware using softraid RAID5 without any jerkiness at all, so it seems zfs specific.

Re: UI lag and jerky mouse

PostPosted: Thu Aug 11, 2016 7:04 am
by RobRehnmark
I have this problem with UI lag and jerky mouse too sometimes.
Definitely when I'm using the pools more.

How do I build from source with the modifications to allocate 256k or 512k and which should I go for?
I'm no developer/programmer but I have Xcode installed.
I would do well with some detailed instructions instead of just general pointers. :?

My machine has 24 GB or RAM and a Hexa core Xeon running at 4 GHz. (hackintosh)

Re: UI lag and jerky mouse

PostPosted: Thu Aug 11, 2016 10:15 am
by RobRehnmark
So I'm attempting to compile from source to fix the lagging mouse and gui.

spl/include/sys/vmem.h already has these lines:
Code: Select all
// BGH - Back to 512k users reporting glitching, beachballing etc.
#define KMEM_QUANTUM (PAGESIZE<<7)

So I'm guessing the change has been made in the source already.
I'm also having problems unloading and uninstalling the kexts... should I run the uninstall-complete.sh script?

EDIT:
I have installed and imported the two pools but not tested properly yet to see if lag is gone.
Is there any way to check if the kexts running now is using 512k instead of 128k?

EDIT2:
I can report that it seems to be working perfectly fine now.
No jerkiness or lag while sending incremental snapshot between internal and external pools. :)

Re: UI lag and jerky mouse

PostPosted: Wed Aug 17, 2016 1:14 am
by zisper
Brendon, I'm looking for a way to verify I'm running my compiled kexts as well - you mentioned this earlier, how do I go about doing that?

Brendon wrote:Build looks correct so far.

Perhaps change the SPL initialisation code to also print "cmckay was here", then you can check the system logs/dmesg and know for sure that you're running your binaries.

- Brendon

Re: UI lag and jerky mouse

PostPosted: Wed Aug 17, 2016 1:55 am
by Brendon
Can be a bit difficult to tell. My suggestion:

https://openzfsonosx.org/wiki/FAQ#Q.29_ ... ompiled.3F

Cheers
Brendon