pallfreeman wrote: > If the comments in SQLiteHelper.pm are correct, dbhighmem changes the > cache from 2MB to 20MB. > Simply inserting a couple of 0s in there (cache_size = 2000 changed to > 200000) allows the whole db to reside in memory. Easy unless you're > running Windows.
Well I had an Ubuntu 10.4 VM which I'd originally planned to install the new server software on before I ran into other problems, so I updated that to LMS and made the change you suggest above. The database is much peppier with no hangs on searches yet (almost double the amount of memory used if top is to be believed, but well within limits), but it's the other performance improvement I saw which makes me thing I really need to go back to Linux. Look at the directory scanning: Windows XP VM reading SMB mapped drive: Discovering files/directories: N:\Music (180735 of 180735) Complete 02:08:30 Ubuntu 10.4 reading NFS mounted volume: Discovering files/directories: /c/media/Music (180784 of 180784) Complete 00:02:52 Holy cow! A factor of 60 increase! The file numbers are slightly different because I added 2 albums, but the hardware is identical 2 Virtualbox VMs running on a busted laptop connecting over 1GB Cat5 to a Readynas Pro Pioneer. Saving 2 hours on every rescan is worth something! Also the scanner didn't hang the way it did on Windows, so I don't know what to think. The Web UI is still a little pokey in places, for some reason drawing those combo-boxes sends it into a tizzy, but based on the flexibility and the speed of the scanning Linux looks like the way to go. I'll pay a little bit on the MusicIP side, but it should be worth it. ------------------------------------------------------------------------ sander's Profile: http://forums.slimdevices.com/member.php?userid=10737 View this thread: http://forums.slimdevices.com/showthread.php?t=96124 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
