image description


How to find out if your PC is compatible with Presonus products and how to improve performance
  Forum Index » Pre-Sales Questions 
Author
Message
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Mod Squad again cleaning up the mess

These aren't the Droids we're looking for.......move along........move along

This message was edited 1 time. Last update was at 10/11/2012 06:26:00

http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Monolithent wrote:So now for part two.

The first weapon in this arsenal is a realtime processor latency checking tool.
http://www.thesycon.de/deu/latency_check.shtml

Here is one of the best articles I've been able to find on streamlining a system for audio use.
http://www.audioforums.com/windows-vista-optimization.php


Great advice

Using DPC Latency checker tool linked above and following the audioforums article significantly reduced my DPC Latency to a nice "green" level

The final thing was disabling my Wi-Fi adaptor, which was causing DPC Latency spikes at a regular interval (every several seconds)

Attached is the before and after graph.
WiFi_Hardware_Latency.jpg
[Thumb - WiFi_Hardware_Latency.jpg]
 Description DPC Latency improves after disabling Wi-Fi hardware in Device Manager [Disk] Download
 Filesize 201 Kbytes
 Downloaded:  428 time(s)

This message was edited 1 time. Last update was at 20/01/2011 02:49:10

How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Glad some of this stuff could be of service. That's all it's here for.

That DPC latency tester can make a person go nuts. It will tell you something is wrong but not what it is. After that it's just trail and error.

I wish I was better at programming. I would recreate that thing to say exactly what is hitting the CPU at the time of the spike. Man would it save a lot of headaches. The first time I started using it I think I spent a month disabling and enabling things trying to figure out what works and what doesn't.

This and a few other forums helped.
http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Monolithent wrote:
---------------------------------
Item 1: Available Tools
---------------------------------
a. TC Applied Technologies OHCI Tool https://dev.tctechnologies.tc/tcat/tags/release/public/latest/binary/tools/ohciTool/Win32/Release/

1. Running this tool is an absolute must do if you don't know exactly what IEEE 1394 chipset is in your PC. And is virtually critical for notebook users. This tool will tell you what IEEE 1394 (firewire) chipset is in your machine, what its capabilities are and if it is compatible with the DICE chipsets used in Presonus and many other audio interfaces.
---------------------------------
b. Presonus tested and approved firewire chipsets and known incompatible hardware. http://www.presonus.com/media/pdf/hardware_compatibility.pdf

1. This is an older list but Presonus went to the trouble of figuring out what definitely works and what definitely doesn't to simplify our lives. There are a few caveats...


The OHCI Tool link disappeared, I scoured the TC Applied Tech website and forum and could not find it.

In the end I downloaded the tool from Google's cache.

So here it is attached zipped for anyone else that needs it and doesn't want to waste time getting it from the google cache.
ohciTool.zip
 Description [Disk] Download
 Filesize 463 Kbytes
 Downloaded:  645 time(s)

How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Deeply appreciated.

I haven't looked for it in a while. This is the second time they've moved it. I will see if I can find it and restore the link. If not I will just reference your post.

Edit---The links have been fixed and tested good as of the date and time of this edit. Feel free to send me a PM if one shows up broken again. Thanks to mmerlin for identifying the discrepancy.

This message was edited 1 time. Last update was at 20/01/2011 07:56:15

http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Monolithent wrote:Round three......ACPI (Advanced level stuff so be careful)

ACPI decides how pretty much everything runs in your computer by hi-jacking IRQs. An IRQ is an interrupt request.

If you ever get the chance to see your IRQ settings you may find that very often ACPI makes your computer share the firewire connection with your IDE/SATA bus.

An interrupt in this configuration while streaming audio will be to operate your hard drives (which tend to be long interrupts) and we get dropouts amd latency spikes.

We need to disable ACPI in some cases and here's how you do it...

2. Download Process Hacker -
Be sure to get version 1.11
Version 2 is the latest and does not have the command line option anymore and it is a necessity


Process Hacker command line version is no longer available for download (only version 2.0 and above is available now)
Caveat: I did not test if the latest version has re-introduced command line mode...

Then I thought... why not just check to see what IRQ's my Firewire and SATA controllers are running?

Turns out they are on different IRQ's

So I think I will just leave ACPI alone for now.

Would there be any other "IRQ number sharing" scenario's I should look out for?

Or is the only known ACPI conflict when Firewire + SATA end up on the same IRQ?

(I'm in the process of configuring a fresh install of Windows 7 to be as smooth as possible )
IRQ_settings_FireWire_SATA_controllers.jpg
[Thumb - IRQ_settings_FireWire_SATA_controllers.jpg]
 Description [Disk] Download
 Filesize 201 Kbytes
 Downloaded:  458 time(s)

How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

A lot of time it will share with a USB bus controller. This is very common with JMicron chipsets in many HP notebooks.

But there are many different things that can share IRQ. There's a very good tutorial over at the M-audio site that can help explain at lot about IRQ. http://www.m-audio.com/?do=support.faq&ID=80d7b56e35ea51e73104295aec1f755b#understanding
http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Monolithent wrote:A lot of time it will share with a USB bus controller. This is very common with JMicron chipsets in many HP notebooks.

But there are many different things that can share IRQ. There's a very good tutorial over at the M-audio site that can help explain at lot about IRQ. http://www.m-audio.com/?do=support.faq&ID=80d7b56e35ea51e73104295aec1f755b#understanding


Thanks Monolith, man you sure are a font of knowledge!

That new link is an interesting article, and msinfo32.exe is a much better way to view all IRQ's

You are right in your prediction of USB controllers sharing IRQ's

If this was your computer, would you go into in Device Manager and disable the USB controllers that are sharing IRQ's with the SATA and Firewire controllers?

I have 3 USB ports on this notebook (it's a Lenovo R500) and I only need one USB port for my Mackie MCU control surface.

What I see is

my 1394 FireWire controller is shared with
- a USB controller

my SATA controller is shared with
- a USB controller,
- the CardBus controller

Actually, something a bit disconcerting there...
the CardBus is used to plug in my FireWire card (Texas Instruments chipset ExpressCard)


So... what I am thinking... in theory... if I disable those two USB controllers, I have one USB port still active.

On second thoughts... maybe I am getting too obsessive about trying to prevent problems before they occur...

I think it's time for me to just start creating some recordings and listen back


msinfo32_IRQ_assignment.jpg
[Thumb - msinfo32_IRQ_assignment.jpg]
 Description [Disk] Download
 Filesize 142 Kbytes
 Downloaded:  358 time(s)

This message was edited 1 time. Last update was at 20/01/2011 05:01:59

How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Again deeply appreciated. If it's OK with you I'm gonna start the rest of this conversation in a new thread down in FireStudio Devices Tech Support.

Not that I don't appreciate all the kind words but I don't want to get this thread too jumbled up and off topic. It should keep it easier for future users to follow along.

http://forumsarchive.presonus.com/posts/list/0/7095.page

This message was edited 1 time. Last update was at 20/01/2011 05:25:09

http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Cool

Here's one last thing, keeping with the thread theme of "improve performance"

Here's a link that shows which windows Services can be set to "Manual" (so they only start up if used)

http://www.askvg.com/master-tutorial-to-make-your-windows-7-super-fast/

(see step 4 and follow the link at the end of step 4)

The link above is for Windows 7

The same site has a similar article on Services for Win XP
http://www.askvg.com/master-tutorial-to-make-your-windows-xp-super-fast/

and Vista
http://www.askvg.com/master-tutorial-to-make-your-windows-vista-super-fast/

This message was edited 2 times. Last update was at 20/01/2011 05:31:06

How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Excellent.

Thank you for that. I didn't even remember that one. You're gonna fit in just fine around here, sir.
http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

mmerlin wrote:Process Hacker command line version is no longer available for download (only version 2.0 and above is available now)


Process Hacker, the old version that allows use in a batch file is attached to this message in the zip

(as of right now, this old version is currently available via a direct link to the file on source forge, HOWEVER, this old version is not visible on the public project page, so let's attach it here for posterity.)
processhacker-110.zip
 Description [Disk] Download
 Filesize 1196 Kbytes
 Downloaded:  432 time(s)

How to share your files with a free 2.75GB Dropbox
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

Continuing on with "improving performance"...

Here is a cool free tool in the fight against DPC Latency

http://www.resplendence.com/latencymon

LatencyMon helps identify the root cause of audio dropouts, clicks and pops by identifying which process is causing the most DPC Latency.

Note: It runs on Windows Vista and Windows 7 (but not XP)

I ran LatencyMon and what do I see but my new found nemesis ACPI.sys causing DPC Latency of 334 microseconds
(see attachment #2 below)

I did more research on ACPI.sys and the only downside of disabling ACPI is the battery meter stops working. I can live with that, I'm on mains power anyway.

So digging back through this forum and the oldforum I learned to disable ACPI as follows

- download and install an old version of Process Hacker (pre version 2.0) that allows running it from the command line

- run Process Hacker the normal windows way

- find the "System" process and double click it

- go to the "Thread" tab, sort by "Start Address" column and look for ACPI.sys and write down the TID number(s)

(see attachment #3 below)


Now we know the TID(s) of ACPI

- create a batch file to Suspend ACPI, using Process Hacker

- create another batch file to Resume ACPI (run this one before shutting your computer down)

For creating the batch files, see here
http://forumsarchive.presonus.com/posts/list/15/2808.page#18013

a big thanks to TBCURTIS for that!


So, now when I run my Suspend.bat file, the DPC Latency results are better!

Looking at LatencyMon my DPC Latency is now 111 microseconds (and ACPI.sys is gone )

(See attachment #1 below)

Excellent! I'm happy now


P.S. For those who want to dig deeper than LatencyMon allows

Get "xperf" from Microsoft
http://msdn.microsoft.com/en-us/performance/cc825801

Xperf is only available by downloading the Windows SDK
http://msdn.microsoft.com/en-us/performance/cc752957

The principle is, run xperf, do some logging,
then sort your results by "Actual Duration" to see which processes have most DPC Latency.

as per post #5 on this page
http://www.rme-audio.de/forum/viewtopic.php?pid=43991
LatencyMon_shows_111_microseconds.jpg
[Thumb - LatencyMon_shows_111_microseconds.jpg]
 Description LatencyMon shows 111 microsec DPC Latency [Disk] Download
 Filesize 106 Kbytes
 Downloaded:  352 time(s)

LatencyMon_shows_334_microseconds_ACPIsys.jpg
[Thumb - LatencyMon_shows_334_microseconds_ACPIsys.jpg]
 Description LatencyMon shows 334 microsec DPC Latency [Disk] Download
 Filesize 109 Kbytes
 Downloaded:  382 time(s)

ProcessHacker_get_TID_of_ACPI.jpg
[Thumb - ProcessHacker_get_TID_of_ACPI.jpg]
 Description Getting the TID of ACPI [Disk] Download
 Filesize 183 Kbytes
 Downloaded:  371 time(s)

This message was edited 2 times. Last update was at 20/01/2011 10:06:10

How to share your files with a free 2.75GB Dropbox
mmerlin
Prenoob
[Avatar]

Joined: 06/11/2010 07:15:54
Messages: 37
Location: Melbourne Australia
Offline

jesuscares wrote:Anything for Mac?


I think Mac's "just work"

I've never used Mac but I see that all the Presonus videos are Mac, so they are probably a LOT more plug n play than windows machines
How to share your files with a free 2.75GB Dropbox
Monolithent
Supreme Baconator
[Avatar]
Joined: 28/07/2010 18:47:25
Messages: 13464
Location: Central New Jersey
Offline

Those new tools are pretty cool. You've ended DPC the insanity at least for the Vista and win 7 folks (shame it doesn't work on XP). I hope anyway. Anything's better than what we had.

This message was edited 1 time. Last update was at 20/01/2011 15:55:19

http://support.presonus.com

Tallest guy in the Mod Squad with all his hair still on his head.

No I'm not a freaking pilot!! The Air Force won't let me have a suit with a zipper...or sometimes shoestrings.

My advice and suggestions should never be considered advice or suggestions. These are mostly insane ramblings of a poor aircraft mechanic who can, strangely enough, still hear.

StudioLive 16.4.2, AudioBox 1818VSL, AudioBox 44VSL, Faderport, Digimax FS,, M-Audio Firewire 410
--MultiBoot System--
Win Vista 64/XP Pro/7 x86/7 x64 - Mac OSX Snow Leopard/Lion
Gigabyte motherboard--SYBA TI Firewire XIO2200A--i7 2600k Quad Core--16 GB DDR III--Custom 2U Rackmount--4 TB Raid (all internal SATA II)--19" Samsung HDMI LCD on pivoting VESA 1U Mount
Studio One v1 Pro x64
Studio One v1 Artist
Studio One v2 Artist
[Yahoo!]
 
Forum Index » Pre-Sales Questions
Go to: