OK I have been meaning to contribute, but was hoping to set up a better
test environment. Alas the torrid pace of LMS development these days
means I better get moving if I want to help. :cool:

I have 2 sets of data. Now my pre 7.73 version has sqlhelper.pm modified
to give slightly more memory:
132                 push @{$sql}, 'PRAGMA cache_size = 2000000';
so the results are skewed.

7.7.3 - "prod" system -  Ubuntu 12.04.4 LTS 32-bit Virtualbox VM with
2GB of RAM
Logitech Media Server Version: 7.7.3 - 1375965195 @ Mon Aug 12 03:09:39
PDT 2013

Media Scan Details
Discovering files/directories: /c/media/Music   (211634 of 211634)  
Complete  00:04:11
Scanning new music files: /c/media/Music   (449 of 449)   Complete 
00:01:51
Scanning changed files: /c/media/Music   (493 of 493)   Complete 
00:00:49
Discovering playlists: /c/media/playlists   (61 of 61)   Complete 
00:00:00
Scanning changed playlists: /c/media/playlists   (7 of 7)   Complete 
00:00:08
MusicIP Import   (5246 of 5246)   Complete  00:00:25
Profile export   (930 of 930)   Complete  00:00:07
Pre-caching Artwork   (143 of 143)   Complete  00:00:59
Total Time: 00:08:30

Output of Gordon Harris' get slim-slim-mem-usage.sh:
Rss usage:  436,256  All memory the process uses, including all
memory this process shares with other processes
Shared usage:    1,216  Memory that this process shares with other
processes
Private usage:  435,040  Private memory used by this process
Swap usage:   86,104  Swap memory used by the process
Pss usage:  435,122  Proportional Set Size, a good overall memory
indicator
Size usage:  551,080  Virtual size, almost meaningless
Referenced usage:  347,232  Memory currently marked as referenced or
accessed

Test system:
Centos 6.5 64-bit Virtualbox VM with 1GB of RAM 
Logitech Media Server Version: 7.9.0 - 1399649268 @ Sat May 10 04:01:05
UTC 2014

Music scan details
Discovering files/directories: /c/media/Music   (211884 of 211884)  
Complete  00:11:22
Removing deleted files: /c/media/Music   (5 of 5)   Complete  00:00:12
Scanning new music files: /c/media/Music   (672 of 672)   Complete 
00:05:35
Scanning changed files: /c/media/Music   (2210 of 2210)   Complete 
00:13:27
Discovering files/directories: /c/media/playlists   (60 of 60)  
Complete  00:00:00
Scanning new music files: /c/media/playlists   (4 of 4)   Complete 
00:00:05
Scanning changed files: /c/media/playlists   (8 of 8)   Complete 
00:00:30
Find updated coverart files   (12519 of 12519)   Complete  00:02:42
Pre-caching Artwork   (620 of 620)   Complete  00:03:55
Total Time: 00:37:48 

Output of Gordon Harris' get slim-slim-mem-usage.sh:
Rss usage:  605,960  All memory the process uses, including all
memory this process shares with other processes
Shared usage:      764  Memory that this process shares with other
processes
Private usage:  605,196  Private memory used by this process
Swap usage:        0  Swap memory used by the process
Pss usage:  605,301  Proportional Set Size, a good overall memory
indicator
Size usage:  795,756  Virtual size, almost meaningless
Referenced usage:  521,452  Memory currently marked as referenced or
accessed

A couple of caveats:
my 7.7.3 system sometimes hangs with a cpu-eating, uninterruptible perl
script which causes me to have to reboot the server, so I don't update
it that often. I can't remember when it started so my fix is to move to
a new version. That said it is rock solid otherwise and is used for
playback at least about 5 hours every day.
The test server has half the memory, no MusicIP, next to no trackstat
activity, and has barely been used.

My pain point with the default memory settings was searches, browsing
making the system unusable and browsing music folders just hung the
system. With the old SQL hack it was good and with the new one it seems
better. 
The total scan time on the new version may be slower due to the lower
memory on the vm which I have now raised to match the other version. I
can do a complete rescan with both systems now if that helpful.

Thanks Michael for making this happen!


------------------------------------------------------------------------
sander's Profile: http://forums.slimdevices.com/member.php?userid=10737
View this thread: http://forums.slimdevices.com/showthread.php?t=101469

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

Reply via email to