jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

Slows down with large libraries, Remote times out connection #16

Open peaslaker opened 14 years ago

peaslaker commented 14 years ago

Test server: forked-daapd-0.12 on 1.2GHz ARM 128MB RAM Test library 34000 items. Varied music files with consistent meta-data and embedded artwork. No folder artwork Test clients: iTunes 10 on Mac Mini Server 2.53GHz, iTunes 10 on Mac Pro 1.1 3.0GHz, iPod Touch 64G (3G) running Remote.

Each client connection to the library blocks the server with forked-daapd CPU utilisation at >90% until the entire library is read. Memory usage is minimal during this time. The Apple Remote application running on an IPod Touch times out on the connection.

Behaviour of iTunes to iTunes between two Macs is similar but has faster hardware.

Behaviour of Apple Remote running on an iPod Touch against a native iTunes hosted library is practically immediate.