PDA

View Full Version : Optimizing a PC for Audio


korz
02-10-2003, 12:20 PM
Firstly, I'd like to complain that the text of a message gets wiped out if you submit a post without your password... I spent a half hour writing a post which was wiped out because I accidentally hit BACK and then FORWARD on my brouser, which erased the password, and then Submit New Topic. The system should simply ask for your password and then post your article.

My questions:

I've run across three articles on Optimizing a PC for Audio:
http://www.aardvarkaudio.com/aasd-v1/products/general-support/Optimizing-PC-for-Audio/optimization-forpc.html
http://www.funklogic.com/pcaudio.htm
http://www.nemesysmusic.com/support/W2k_XP_Optimize.pdf

Naturally, the articles don't all agree. Some of the changes (like disabling Disk I/O logging or disabling AutoStart) are no-brainers. I'd like comments on some of the other things that are mentioned. Specifically, I'm interested in comments on the following tweaks:

* I've got a 2.53GHz P4 and a Matrox G450 32M video card. Will lowering the color quality from 32bit to 16bit significantly improve performance? I would like to occasionally use the system for Photoshop and would prefer to not have to switch back and forth.

* The Tascam (the third article, in case you haven't followed the links yet) article says to disable System Restore, which I believe works like GoBack in that it logs changes to the hard disk and allows you to roll back the clock on the system. Clearly I want to disable this for my audio hard disk, but I have a separate disk for my boot/OS/apps and, in fact, I have partitioned it into a C: and an F: drive and I'm trying to put all my applications on the F: drive (some insist on being on the C: drive). Would it severely impact performance to have System Restore on the C: and F: drives or should I disable it there too?

* It seems odd that the article should suggest that we set up Performance to give the best *background* service performance. It says to do this because ASIO-based drivers run in the background. Is this right?

* Swap File, aka Virtual Memory is a biggie. This and the previous Tascam article it references say to set your Swap File to a fixed size. The previous Tascam article (if I recall correctly) says to set your Swap File to zero, defrag, and then set up the Swap File to be of a fixed size, so that it get's place in a favourable place on the drive (or something like that). Another oddity here is that the article says to set your Virtual Memory size to 1.5 to 2 times your RAM, but if you have 512M of RAM, to set the Virtual Memory size to 512M. But what if I've got 1G of RAM?!?

* One of the articles doesn't even mention disabling Write Behind Caching, although judging from the explanation in the other two articles, I frankly can't see how our Audio applications could *ever* work with it turned on! I trust that we should definitely disable it, right?

Here's one more from me, unmentioned in these articles. I read in an article on general-purpose comupting, that you can significantly increase performance by putting your Swap File (Virtual Memory) on it's own hard disk (not just it's own partition!). I can see that being true, in general, but would it be a significant improvement for our Audio applications? Given that my mobo (Asus P4B533-E) has two IDE controllers, for potentially 8 IDE drives (4 masters!) and that I can get a 30G, ATA133, 7200RPM, fluid bearing, hard disk for $72 including shipping (see www.techbargains.com), (http://www.techbargains.com),) would it be worth it?

What say ye?

Thanks!

Al.

+Erik.+
02-10-2003, 01:13 PM
i will answer what i can to what i believe it be correct http://www.audioforums.com/forums/wink.gif

1. i can't say exactly for that card but the answer can be yes and no. For older cards maybe, but for newer cards they are supposed to run at 32bit and it has been said that lowering the bitdepth can decrease performance because it causes the card more work in colour reduction. I don't know for sure about this though.

2. If you want to use system restore like you say your best bet is to use a dual os and use system restore on the other os for all drives bar your audio. The overhead of system restore is still there but it's not monitoring your audio drives. This is still a performance loss, and how uch i can't say. Personally, I don't like system restore and disable it all the time.

3. Yes this is true. Not just the asio drivers but also certain functions in the apps work better. The thing about this kind of performance is that it's all priorty based and i would guess it's not gonna make such a big difference really, but i set this option myself.

4. The swap file usage is very old hat now. I cannot understand why they still say this but yes you are right. IT's crazy setting 1.5gb swap file if you have 1gb and 192mb swap file if you have 128mb of ram! Just doesn't really add up. If you have 128mb of ram you could maybe go for a 256mb or 512mb fixed swap file. if you have 512mb of ram, maybe 128mb or 256mb. whatever you fancy. More 700mb and more than i would remove the damn thing all together and not have it access my disks at all. Personally, i have 512mb of ram with 256mb fixed. I have tried it without a swap file and it works fine but if you use something that does swallow ram you might end up in trouble.

5. Disable the write behind caching.

6. Yes absolutely. Having the swap file on it's own hard disk is gonna be better. Having the swap file on another partition on the same physical disk is just stupid. It offers no performance boost. The only *worthwhile* thing you can do with that is to run a dual OS and use a partition so both OS's can use the same space for their swap files, therefore saving x amount of ram. I don't do this.

Note, I have 2 drives for now, 1 with audio and 1 with my OS on it. THe swap file is on the OS drive.

Ok, here's the catch. Technically you want the swap file on the fastest drive away from the audio. But, just how much disk access is there on your c drive using audio apps with your audio data on a seperate disk gonna impact the swap file reading/writing? Very little i would think. Is the overhead of another drive running at the same time gonna be better??? I really don't think so. Keep your swap file on your OS drive and get a 2nd drive purely for audio. that's optimum. if you have a 3rd drive then do some tests with the swap file on it and see but i think you will find no real performance. Get plenty of ram and remove it altogether.

+Erik.+
02-10-2003, 01:16 PM
also about your problem with the password. i too entered the wrong password, but copied and pasted the message all the same. when i hit the back button the message was still there and i just had to re-enter my password, nothing was lost.

but its a bitch when that happens http://www.audioforums.com/forums/smile.gif

korz
02-10-2003, 01:50 PM
Thanks for the info.

I suppose that for some things on the list, like Write Behind Caching, it's a no-brainer and I'm just going to do it. As for the Swap File, video bit depth, etc., what I might do is just see how many concurrent tracks I can record and play back and see if it's "enough." If I find that I can't play back 16 while recording 4 more, then I'll definitely have to do some tweaking, but I suspect I may not have to do too much tweaking to get prety high track counts. I mean... some people are perfectly happy with 700MHz processors and 100MHz front-side buses and even 5400RPM ATA66 drives.

The place where I might get myself into trouble is if I try to play a soft synth on the PC while playing back 16 tracks and recording the soft synth. I can see this as being pretty processor (and, in the case of a GigaSampler, disk) intensive.

Thanks.

Al.

+Erik.+
02-10-2003, 02:38 PM
one area that will affect your performance more than anything is in the services that startup for xp. timz posted a link to black viper site which describes precisely what to disable for optimium performance.

these days i find the tascam and such guides kind of out dated. In the days of the 200mhz pc this stuff was maybe a major tweak but these days it's not that signficant. people are running great daws on xp straight out the box.

batch151
02-10-2003, 04:31 PM
This is another good article:
http://www.sound-on-sound.com/sos/Mar02/articles/pcmusician0302.asp

seiji-san
02-12-2003, 05:19 PM
also, dont forget www.musicxp.net (http://www.musicxp.net)

ALBERTPIKE
02-24-2003, 05:28 AM
I have come to appreciate system restore. It is a very good problem fixer. I make a restore point each time I add new software or make any other changes. You can downsize the amount of resources it uses. I don't know about the performance hit, but as long as you're able to do what you need with system restore activated, it might save your a** someday.

garrigus
02-28-2003, 12:28 PM
In addition, I wrote up an article called 'Optimizing Your Audio PC' for issue 14 of DigiFreq. You can download the issue for free at: http://www.digifreq.com/digifreq/issues.asp

Best regards,
Scott

--
Scott R. Garrigus - Author of Cakewalk, Sound Forge and Sound Forge 6, SONAR and SONAR 2 Power! books; Publisher of DigiFreq. Win a free copy of Wave Art's Power Couple effects plug-in bundle and learn more cool music technology tips and techniques by getting a FREE subscription to DigiFreq... go to: http://www.digifreq.com/digifreq/