Buffalo Forums

Products => Storage => Topic started by: parsobarus on June 23, 2009, 10:11:58 AM

Title: iTunes folder & trashbox
Post by: parsobarus on June 23, 2009, 10:11:58 AM
   

I use a Linkstation Pro LS XHL to store my iTunes music. Each time a song started playing, there was a brief period of garbled sound before the song began to play normally.

 

I looked in the trashbox for the iTunes share and found that iTunes was writing a fairly sizable .tmp file into that folder every time a song was played. Thinking that this file write was messing up streaming, I disabled the trashbox. This seemed to fix the problem.

Title: Re: iTunes folder & trashbox
Post by: Dustrega on June 24, 2009, 06:00:17 AM

parsobarus wrote:
 

I use a Linkstation Pro LS XHL to store my iTunes music. Each time a song started playing, there was a brief period of garbled sound before the song began to play normally.

 

I looked in the trashbox for the iTunes share and found that iTunes was writing a fairly sizable .tmp file into that folder every time a song was played. Thinking that this file write was messing up streaming, I disabled the trashbox. This seemed to fix the problem.


 

Thank you very much for the insightful tip! :robotvery-happy:
Message Edited by Dustrega on 06-24-2009 06:00 AM
Title: Re: iTunes folder & trashbox
Post by: parsobarus on June 26, 2009, 10:54:26 AM
   

I'm going to have to call BS on myself. It turns out, this DID NOT fix the problem, as it is doing it again.

 

About 10 seconds into every song, the CPU and network usage spike for a couple of seconds, causing garbled sound and slower tempo. I'll post more as I learn more.

Title: Re: iTunes folder & trashbox
Post by: rinthos on June 26, 2009, 02:45:14 PM
   

Are you wired or wireless? Any diff between wired vs/ wireless network connection performance?

Have you tried multiple applications and/or codecs to see if the results are any different?

Title: Re: iTunes folder & trashbox
Post by: parsobarus on June 28, 2009, 12:26:28 PM
   

rinthos wrote:

Are you wired or wireless? Any diff between wired vs/ wireless network connection performance?

Have you tried multiple applications and/or codecs to see if the results are any different?


 

Hi rinthos,

My connection is full duplex gigabit ethernet.


I've tried both apple lossless (alac) and aac codecs and the results are the same. I haven't tried another application.


It appears the garbled playback occurs when iTunes writes its library database to the Linkstation. Each time a different song starts playing, it overwrites the 16Mb library.xml file and, in addition, writes a 2.3Mb .tmp file to the itunes folder. I have read that iTunes does this to update the play count, although I don't know what the .tmp files are for.


Also, it doesn't perform the file write every time. I just played 7 songs, but it only wrote the library/.tmp files 5 times.

Message Edited by parsobarus on 06-28-2009 12:48 PM
Title: It was the power settings
Post by: parsobarus on July 01, 2009, 08:16:33 PM
   

It turned out, the problem was with my Vista power plan setting. I had set it to "power saver". This caused the AMD Cool n Quiet software to lock the CPU clock rate at 800 Mhz.

 

This was just too slow to keep up with playing the music during the file writes. After I set it to "balanced", it allows the CPU to rev up to 2.6 Ghz when needed and the "garbling" is gone.

Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 70 (show)
Files included: 27 - 1055KB. (show)
Memory used: 733KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]