-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file locking seems to not work #93
Comments
Try to not lock the drive device but the mount point instead. |
uh yeh I did that Happens with every Ubuntu 21.04 at home Just feels like - yes, it's reading the files but they can easily disappear (like you read the files with cat, wc, nano etc.) |
Hmm, it works fine here via |
just no output (I don't wait until it is done
|
france1@Ubuntu-Desktop:/run/user/1000/gvfs/cdda:host=sr0$ uname -a (also on xanmod kernels - just not reading from cache) |
Ah it has a verbose flag: vmtouch -vl ./ |
Most systems have pretty strict resource limits on the amount of memory locked, maybe it is hitting those? You could try increasing this (ie |
No, if it would hit, then there's an error message |
No errors...... The program seems to work without any error but the operating system wants to read the stuff again instead of using that in RAM |
wait... Maybe it's just triggering the device but the data is in cache? And maybe it doesn't work with CDs |
If I use for exmp. vmtouch -dlw <mount-path of /dev/sr*> it reads all from the drive but if I let totem play the music files it has (and the vmtouch process didn't lock all) it's just poor performance - it tries to read all again and the vmtouch process still tries to read so it just stutters. Also it basically seems to not help much (I feel like it's re-reading the files even they are already locked by vmtouch)
The text was updated successfully, but these errors were encountered: