UI lag and jerky mouse

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

Re: UI lag and jerky mouse

Postby Brendon » Wed Jun 15, 2016 4:21 pm

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
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: UI lag and jerky mouse

Postby cmckay » Thu Jun 16, 2016 11:26 am

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.
cmckay
 
Posts: 7
Joined: Wed Jun 08, 2016 11:32 am

Re: UI lag and jerky mouse

Postby RobRehnmark » Thu Aug 11, 2016 7:04 am

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)
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am

Re: UI lag and jerky mouse

Postby RobRehnmark » Thu Aug 11, 2016 10:15 am

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. :)
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am

Re: UI lag and jerky mouse

Postby zisper » Wed Aug 17, 2016 1:14 am

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
zisper
 
Posts: 16
Joined: Wed Jul 20, 2016 2:48 am

Re: UI lag and jerky mouse

Postby Brendon » Wed Aug 17, 2016 1:55 am

Can be a bit difficult to tell. My suggestion:

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

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

Previous

Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 1 guest