Mandarb wrote: 
> Quoting Mnyb <Mnyb.5jzyun (AT) no-mx (DOT) forums.slimdevices.com> on
> Fri, Oct 05 21:56:
> >
> > Setting higher cache pragma is exactly what the " high mem" setting
> in
> > LMS does ( look in the advanced / performance settings ).
> 
> I know. The "high mem" setting (which I have enabled) bumps the cache
> from 2,000 pages to 20,000 pages. At 1KB page size (the default) that
> is
> still only 20MB. Given that the I/O I posted from strace shows 1024
> byte
> reads and writes, bumping the page_size to 16KB would make there be 16x
> fewer I/O operations. Leaving the "high mem" setting enabled with 16KB
> page_size would give ~315MB of cache, significantly more than the 20MB
> currently being used. The down side is that to change the page_size I
> have to hack the code, and then completely wipe and regenerate the
> databases. Still, it might be worth it.

Yes you have too, but the code hack is only one line I think it is in
SQLiteHelper.pm or ? Or something like it  ( not at home can't peek into
my server rigth now ) this will be wiped at every upgrade .
But do you really need to rescan ? Just restart LMS and see if it helps
.


------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=96677

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to