Problem with BOINC and iTunes

Message boards : Number crunching : Problem with BOINC and iTunes
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Rich

Send message
Joined: 25 Apr 08
Posts: 15
Credit: 3,727,057
RAC: 65
Message 748949 - Posted: 6 May 2008, 5:47:35 UTC

Hi,

I'm running BOINC on some of my older Macs, although they're still used for light duties such as being printer servers and streaming music around the house wirelessly.

Since I started using SETI@home (my only BOINC project) I have found that I can't stream music properly. It has occasional cut-outs where (presumably) a buffer runs dry.

I have BOINC set up to use up to 100% of the processor, and I'd rather not cut that back, since these machines seldom do anything nowadays. The "do work after idle for x minutes" setting doesn't help, since playing music doesn't seem to count as 'work' - no keystrokes.

Curiously, playing DVDs is OK. It's just iTunes - which I would think is a less exacting job.

Hoping that future updates to either BOINC (to make its idle detection more sensitive), or iTunes (to make it more assertive) will solve matters in the future.

Meanwhile, is there a work-around? Thaks for any ideas...

Software: Tiger (10.4.11) and iTunes `(v7.6.2)
ID: 748949 · Report as offensive
Profile Johnney Guinness
Volunteer tester
Avatar

Send message
Joined: 11 Sep 06
Posts: 3093
Credit: 2,652,287
RAC: 0
Ireland
Message 748960 - Posted: 6 May 2008, 6:31:31 UTC - in response to Message 748949.  
Last modified: 6 May 2008, 6:38:33 UTC

Hi,

I'm running BOINC on some of my older Macs, although they're still used for light duties such as being printer servers and streaming music around the house wirelessly.

Since I started using SETI@home (my only BOINC project) I have found that I can't stream music properly. It has occasional cut-outs where (presumably) a buffer runs dry.

I have BOINC set up to use up to 100% of the processor, and I'd rather not cut that back, since these machines seldom do anything nowadays. The "do work after idle for x minutes" setting doesn't help, since playing music doesn't seem to count as 'work' - no keystrokes.

Curiously, playing DVDs is OK. It's just iTunes - which I would think is a less exacting job.

Hoping that future updates to either BOINC (to make its idle detection more sensitive), or iTunes (to make it more assertive) will solve matters in the future.

Meanwhile, is there a work-around? Thaks for any ideas...

Software: Tiger (10.4.11) and iTunes `(v7.6.2)

Richard,
iTunes obviously needs some of your processor to play music around the house. So if you want the music to work properly, you will have to drop the amount of processing that BOINC is using to 80% or 90%.

Another option you could try would be to use another media player like real player. But that will want some processing power also! But you say that dvd's play OK so are the dvd's using a different player?

Some sacrifice has to be made if you want your music!

John.
ID: 748960 · Report as offensive
Profile AndyW Project Donor
Volunteer tester
Avatar

Send message
Joined: 23 Oct 02
Posts: 5862
Credit: 10,957,677
RAC: 18
United Kingdom
Message 748971 - Posted: 6 May 2008, 7:34:33 UTC - in response to Message 748949.  



I have BOINC set up to use up to 100% of the processor, and I'd rather not cut that back, since these machines seldom do anything nowadays. The "do work after idle for x minutes" setting doesn't help, since playing music doesn't seem to count as 'work' - no keystrokes.




You're going to need a small compromise I think. Maybe even a change to 95% would be enough? BOINC will only take what is spare "up to 100%" if that is what you have it set to, but if I-tunes is a low priority task too then the 2 may be battling for the same resource. If you free up just a little that may solve the conflict.

While I'm here I'll move this across to the number crunching forum where it may get more answers from those in the know.
ID: 748971 · Report as offensive
Profile Rich

Send message
Joined: 25 Apr 08
Posts: 15
Credit: 3,727,057
RAC: 65
Message 749014 - Posted: 6 May 2008, 12:11:07 UTC - in response to Message 748971.  

While I'm here I'll move this across to the number crunching forum where it may get more answers from those in the know.


Oops. Sorry for posting on the wrong 'channel'.

And yes... it seems that playing a DVD is high priority, but streaming music wirelessly is the lowest priority job. There must be a way to change that. A command line interface junkie will probably know...
ID: 749014 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19134
Credit: 40,757,560
RAC: 67
United Kingdom
Message 749027 - Posted: 6 May 2008, 12:58:59 UTC

It could be, as BOINC and the project communicate using a local internet addr and port, that this is interrupting the music if it is also using the network.
ID: 749027 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 749086 - Posted: 6 May 2008, 15:28:57 UTC - in response to Message 748949.  

Since I started using SETI@home (my only BOINC project) I have found that I can't stream music properly. It has occasional cut-outs where (presumably) a buffer runs dry.

I have BOINC set up to use up to 100% of the processor, and I'd rather not cut that back, since these machines seldom do anything nowadays. The "do work after idle for x minutes" setting doesn't help, since playing music doesn't seem to count as 'work' - no keystrokes.

Curiously, playing DVDs is OK. It's just iTunes - which I would think is a less exacting job.

I'm not a Mac expert, but since others are clearly guessing, I'll throw mine into the mix.

Lowering the percentage of time BOINC uses probably won't help that much. Setting this to 95% means 19 seconds of processing, then 1 second crunching, and unless iTunes buffers more than 19 seconds ahead, that won't do. 90% would be 9 seconds "on" and 1 second off, etc.

Most likely, iTunes is running at the lowest possible priority. So does BOINC. If you could raise the priority on iTunes, the OS will take time away from BOINC and give it to iTunes as needed.
ID: 749086 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 749148 - Posted: 6 May 2008, 21:32:08 UTC

A couple other thoughts.

*IF* your iTunes library is large then the updates to the meta-data file can take some time, particularly on slower machines. These updates occur on each track played to update play count and the like. Host iTunes on the fastest machine.

If you have multiple computers and you are just using a master library because it is "easier" you could try one of the two synchronizing tools (TuneRanger and/or SuperSync) to create libraries locally and then you will not have to use the network to play the music.
ID: 749148 · Report as offensive
Hans Dorn
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 3 Apr 99
Posts: 2262
Credit: 26,448,570
RAC: 0
Germany
Message 749150 - Posted: 6 May 2008, 21:40:00 UTC - in response to Message 749148.  

A couple other thoughts.

*IF* your iTunes library is large then the updates to the meta-data file can take some time, particularly on slower machines. These updates occur on each track played to update play count and the like. Host iTunes on the fastest machine.

If you have multiple computers and you are just using a master library because it is "easier" you could try one of the two synchronizing tools (TuneRanger and/or SuperSync) to create libraries locally and then you will not have to use the network to play the music.


Hi Paul, nice to see you back :o)

[/off-topic]
ID: 749150 · Report as offensive
Blu Dude
Volunteer tester
Avatar

Send message
Joined: 28 Dec 07
Posts: 83
Credit: 34,940
RAC: 0
United States
Message 749189 - Posted: 6 May 2008, 22:38:28 UTC

I would recommend a program that can do the same job as iTunes, but with a smaller resource use (iTunes can be an extremely heavy user). Use any media player of your choice, and use airfoil to stream
http://rogueamoeba.com/airfoil/mac/

I'm a Prefectionist ;)
ID: 749189 · Report as offensive
Profile dcappello
Avatar

Send message
Joined: 3 Apr 99
Posts: 261
Credit: 170,969,320
RAC: 0
United States
Message 749203 - Posted: 6 May 2008, 23:11:47 UTC

You mentioned that you have them "around the house" I would assume this means wireless?
(I have the same setup older macs around the house on wifi and had issues like you talked about
but moved from wireless B/G to A for WiFi)
Thinking you might not have enough bandwidth in that spectrum or a lot of interference?
just an idea. You could hardwire them and run a few tests.
ID: 749203 · Report as offensive
Profile Rich

Send message
Joined: 25 Apr 08
Posts: 15
Credit: 3,727,057
RAC: 65
Message 757198 - Posted: 23 May 2008, 5:36:08 UTC

Well, I solved my problem... kind of.

I recently got a new Mac Mini, to have a computer for (very occasional) running of Windows programs. When I'm not using it for that purpose, say 95+% of the time, I allow it to crunch for SETI@home.Turns out it's more effective in that role than all of my older Macs put together, plus it's completely silent and doesn't leave my office feeling like a sauna. (I must be saving a lot of electricity, too...)

So now I leave the business of entertainment and Internet to the other machines, and they run without stuttering as a result. Despite the higher volume of SETI traffic in my household, the wifi handles the load. Clearly, it was just that the BOINC software doesn't run as discretely as it ought to. The BOINC Manager is actually a pretty poor piece of software. Very un-Apple-like user interface, and it doesn't play fair when your computer is trying to do other tasks. Moving it onto the Mac Mini has really worked for me, though.
ID: 757198 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 757216 - Posted: 23 May 2008, 6:35:11 UTC
Last modified: 23 May 2008, 6:35:46 UTC

Now we just need to get a more efficient worker on that little Mac Mini.

http://tbp.berkeley.edu/~alexkan/seti/seti_enhanced-i386-v8-core2-nographics.zip

ID: 757216 · Report as offensive

Message boards : Number crunching : Problem with BOINC and iTunes


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.