GNOME Bugzilla – Bug 348457
Importing music in background causes skips while playing
Last modified: 2007-08-23 01:20:51 UTC
Music should not skip while importing in the background. Other information: I am importing 5333 FLAC songs in the background while attempting to play a song that has already been imported. The host machine is a P4 3GHz running Ubuntu Dapper. Performance was lackluster. I understand this is C# so that is perhaps to be expected? Sean Kelley
No, just because this is C# does not mean you should expect performance problems like this and Mono to be the culprit. C#/Mono does not mean "inherently slow or inferior to native. In any regard, I do have any problems importing and playing FLAC at the same time on a measly 1.6GHz IBM T40p running SLED. Can you provide some more detailed information? What player engine you're using (GStreamer, Helix...), what plugins you have enabled, what kind of file you are trying to play (am assuming FLAC), etc.
I suspect this to be caused by IO contention. I feel it too on my laptop (even though it has a 7200rpm hard drive).
Hi, I do embedded development for a living (Gtk+/Gtkmm) so in my world Python/Mono/C# can be quite slow and memory hungry. Regardless, here are some things to note: Using Gstreamer 0.10 engine Audioscrobbler enabled Metadata searcher enabled Notification Area Icon enabled Playing a FLAC at the time. I was able to duplicate the problem again, this time playing a FLAC song (different one) while importing 726 M4As (128) in the background. Noticed quite a bit of skipping / pauses. Eventually, it locked up. I had to force quit it. Sean
I'm also experiencing pauses and skipping. I have about 4500 songs in the library - all MP3. I'm Using Ubuntu Edgy with a custom 2.6.18 kernel with time frequency set to 1000Hz and Preemption Model set to Voluntary Kernel Preemption on an AMD64 3000 with 1Gb of RAM.
*** Bug 348836 has been marked as a duplicate of this bug. ***
I can confirm this too. I'm currently importing around 18000 mp3s to Banshee 0.11.2 through an sshfs mount (100Mbit LAN) on an IBM T23, P3 1.1GHz, and it's simply _impossible_ to play anything without skips every 10-30 seconds. top reports a load average around 5, w / 80-90% of CPU time going to the Banshee process: Cpu(s): 83.6% us, 10.8% sy, 0.0% ni, 3.0% id, 2.0% wa, 0.7% hi, 0.0% si Banshee is the only running process (not counting Xorg and the odd gnome-terminal) w/ everything else sleeping 99% of the time. CPU seems to be the bottleneck; network utilization is around 20-30% while load on the host serving the files is below 0.10. The system is running Ubuntu Dapper (6.06); kernel 2.6.15-26-386 #1 PREEMPT. Banshee was compiled locally and is (apparently) using gstreamer for output. Enabled plugins are Audioscrobbler; Metadata Searcher; Notification Area Icon (this was the default configuration after compilation; I haven't installed banshee-official-plugins yet). This may be a silly question, but wouldn't having separate threads for importing data and playing solve this?
Is this any better on 0.11.5?
I'm going to assume fixed since we don't have an update within this year.