Gearslutz.com

All Advertisers
Go Back   Gearslutz.com > The Forums > So much gear, so little time!


New Reply New Reply Thread Tools Search this Thread
Old 9th December 2009   #1
Lives for gear
 
Ben B's Avatar
 
Join Date: Aug 2007
Location: USA
Posts: 1,297

Thread Starter
Why is latency...

...such a hard nut to crack?

With native CPU's these days smoking the processing power of older TDM cores, why can't they compete in the area of latency? I've heard stories of 8-core CPU users not being able to set their buffers lower than 128.

This is why I've kept my old MIX-era TDM system. I'm tracking and overdubbing into that, and then mixing on a secondary LE system at my project studio. I wish I could just skip the TDM system entirely, but I'm not confident that I'd get adequate performance during tracking out of my LE rig. (Plus, I don't care for the limitations associated with Low Latency Monitoring Mode in PTLE.) I also like to monitor post-DAW, so I need a system that can keep up (as opposed to pre-converter monitoring).

So why do native CPU's have such a hard time with latency, compared to older, "less-powerful" MIX cores? My guess is that it has something to do with the TDM bus, but that technology has been around for decades (even before Digidesign implemented it).

-Ben B
Ben B is offline   Reply With Quote
Old 9th December 2009   #2
Gear Head
 
Join Date: Nov 2005
Posts: 70

I use the 64 setting always while tracking and never have a problem.
I use at least an eq plug on every track and some compressors here and there also.
I only have a dual core!
(I obviously dont use low latency mode)
Rqrstudio is offline   Reply With Quote
Old 9th December 2009   #3
Gear maniac
 
Rev2010's Avatar
 
Join Date: Jan 2009
Location: New York City
Posts: 247

Not sure what you mean by Native CPU's vs. TDM Cores. So, if I'm misunderstanding your question accept my apology.

I have an Intel Core i7 920 which is quad core with hyperthreading so it shows as 8 cores. I have no problems whatsoever in Cubase SX3 (yes, the old version!). I run my Mackie Onyx 1220 Firewire mixer with the latency at 88 buffers and not have a single problem. I've gone lower too perfectly fine, I just feel 88 buffers (2ms) is a good balance between CPU usage and response.

I've read some tech articles outlining why additional cores over 4 create problems. It has something to do with the synchronization between the cores and the added overhead required. But with the i7 and it's 4 additional virtual cores I couldn't be happier.


Rev.
Rev2010 is offline   Reply With Quote
Old 9th December 2009   #4
Lives for gear
 
Subversounds's Avatar
 
Join Date: Dec 2008
Location: Rio de Janeiro
Posts: 840

Send a message via MSN to Subversounds
Some latency can come also of how much megabytes the harddisk can write per second. And most common hard disks are 7200rpm, while the files only increase in size (ie: 24bits 96khz against the 24bit/44.1 standard from a few years ago)
__________________
To ravage, to slaughter, to usurp under false titles, they call empire; and where they make a desert, they call it peace.
- Tacitus 98 AD.

Anything that is too stupid to be spoken is sung.
- Pierre de Beaumarchais, 1775
Subversounds is offline   Reply With Quote
Old 9th December 2009   #5
mymixisbetterthanyours!
 
Join Date: Oct 2006
Location: Berlin
Posts: 1,665

Quote:
Originally Posted by Ben B View Post
...such a hard nut to crack?

With native CPU's these days smoking the processing power of older TDM cores, why can't they compete in the area of latency?
Because they ('TDM chips') are ASICs and don't have to do anything else.
kosmokrator is online now   Reply With Quote
Old 9th December 2009   #6
Lives for gear
 
Ben B's Avatar
 
Join Date: Aug 2007
Location: USA
Posts: 1,297

Thread Starter
Quote:
Originally Posted by kosmokrator View Post
Because they ('TDM chips') are ASICs and don't have to do anything else.
Yes. But don't modern CPU's have more than the equivalent surplus horsepower? It sounds like you might know the answer!

-Ben B
Ben B is offline   Reply With Quote
Old 9th December 2009   #7
Lives for gear
 
Jake Dempsey's Avatar
 
Join Date: Mar 2007
Location: VA
Posts: 609

Logic 9 on a 8 core, 8 gig ram macpro, buffer at 64. FF800. No latency.

I ran logic 7-9 on a 4 core 2 gig macpro with 2 gigs ram for over 3 years. No latency. Wth both systems, I've used the ADAT outs on the converter to create headphone mixes. Never had any complaints. I think the nut was cracked years ago. It just depends on your computer/interface.

You could always use an analog board for monitoring before signal hits the A>D.
Jake Dempsey is offline   Reply With Quote
Old 9th December 2009   #8
Lives for gear
 
robertshaw's Avatar
 
Join Date: Jun 2006
Location: Massachusetts
Posts: 6,406

If you have a sound card that supports 'direct monitoring' 0 latency shouldn't matter even on a 5400 drive, ebev on a PIII cpu
I could do 0 latency in 1999 2000 on a PIII or a P4 never have any issues. Even on a dual core and now a quad I can get
close to zero wothout direct monitoring at 96/24 on a 5400 drive.

Sometimes even virus software and background processes can inhibit performance. Lots of things to look into, but hardware at this point in time should never be an issue even with really cheap gear. Maybe a soundblaster still can't do zero but anyhting thing like a lynx, presonus, rme9652 etc..... all support direct monitoring and therefore all have virtual zero letency. I mean at really can never be truly zero latency since it does take clock cycles but @ the speed of sound and a few million clock ticks @ speeds measured in nanaoseconds it could never be meaured by human senses. yes Hard disk though would be the only bottleneck but with low track counts you shouldn't notice it with direct monitoring.
robertshaw is offline   Reply With Quote
Old 9th December 2009   #9
Lives for gear
 
Ben B's Avatar
 
Join Date: Aug 2007
Location: USA
Posts: 1,297

Thread Starter
Quote:
Originally Posted by Jake Dempsey View Post

You could always use an analog board for monitoring before signal hits the A>D.
Yes, I know. But I have reasons to not want to do this.

-Ben B
Ben B is offline   Reply With Quote
Old 9th December 2009   #10
Lives for gear
 
Join Date: Mar 2005
Location: NY
Posts: 1,378

Quote:
Originally Posted by Ben B View Post
Yes, I know. But I have reasons to not want to do this.

-Ben B
It's the software that is the weak link, specifically the driver for the card.
loopy is online now   Reply With Quote
Old 9th December 2009   #11
Gear Guru
 
theblue1's Avatar
 
Join Date: Mar 2005
Location: Long Beach, CA
Posts: 14,279

Quote:
Originally Posted by kosmokrator View Post
Because they ('TDM chips') are ASICs and don't have to do anything else.
Quote:
Originally Posted by Ben B View Post
Yes. But don't modern CPU's have more than the equivalent surplus horsepower? It sounds like you might know the answer!

-Ben B
Also, a dedicated system can have extremely tight throughput tolerances that would not be possible in a multi-purpose system like today's computers. We use multiple buffers throughout something like a computer based DAW in order to 'provide slack' and provide tolerance to prevent processing bottlenecks for the system in case there are -- as there often are -- sudden, frequent spikes in demand.
theblue1 is offline   Reply With Quote
Old 9th December 2009   #12
Lives for gear
 
DontLetMeDrown's Avatar
 
Join Date: Sep 2005
Location: Camarillo, CA
Posts: 1,789

Honestly I think core of the problem is with the o/s. There really should be an easier way for us to tell any o/s: "When I'm recording, don't do ANYTHING else!" We need some kind of brute force DAW firewall that stops the computer from doing anything that's not related to recording.
__________________
Dave Escobar
So-Cal Sound Design
DontLetMeDrown is offline   Reply With Quote
Old 9th December 2009   #13
Gear Guru
 
theblue1's Avatar
 
Join Date: Mar 2005
Location: Long Beach, CA
Posts: 14,279

Quote:
Originally Posted by DontLetMeDrown View Post
Honestly I think core of the problem is with the o/s. There really should be an easier way for us to tell any o/s: "When I'm recording, don't do ANYTHING else!" We need some kind of brute force DAW firewall that stops the computer from doing anything that's not related to recording.
Sounds like a good idea -- but the logistics are daunting.

Don't forget, it's not a matter of telling the OS to shut everything but Cubase or Sonar or Logic out... you've got to allow for all the drivers, utilities, background services, FX plug ins, VI's, etc, etc that are necessary to a full featured recording platform. It could be, literally, hundreds...
theblue1 is offline   Reply With Quote
Old 10th December 2009   #14
Lives for gear
 
Join Date: Mar 2009
Location: Pittsburgh
Posts: 562

The os does add to latency quite a bit. Windows is the worse culprit, osx is a bit better, linux can be customized with the right kernel to get very low latencies (korg used this on the oasys keyboard) In fact I think in another few years as the user space programs get better we will see custom Linux based recording solutions start hitting the market with close to zero latency and very good audio performance.
zosthegoatherd is offline   Reply With Quote
Old 10th December 2009   #15
Lives for gear
 
Join Date: Mar 2005
Location: NY
Posts: 1,378

Quote:
Originally Posted by zosthegoatherd View Post
The os does add to latency quite a bit. Windows is the worse culprit, osx is a bit better, linux can be customized with the right kernel to get very low latencies (korg used this on the oasys keyboard) In fact I think in another few years as the user space programs get better we will see custom Linux based recording solutions start hitting the market with close to zero latency and very good audio performance.
Linux?With like 5 different sound systems (ALSA, pulse, OSS, ESS, arts, etc) is a mess.

The problem with Linux is there are far too many Indians and few chiefs.

How many Linux distributions are there?
Something like 300+ ?
Why?

Linux is a cluster**** and until the Linux community gets off the "choice" bandwagon and re-groups, Linux will remain the disaster it is now.
Windows 7 is killing Linux.

Linux just sucks for everything a human being has to get involved with.
And the Linux community is a bunch of pompous assed idiots who think their poop doesn't stink.
RTFM comes to mind.
loopy is online now   Reply With Quote
Old 10th December 2009   #16
Lives for gear
 
stagefright13's Avatar
 
Join Date: Apr 2006
Location: Pennsylvania
Posts: 1,187

As far as I am concerned latency is what I add to my session tracks. If it was easy everyone would do it...

John
__________________
Stagefrightrecords.com
stagefright13 is offline   Reply With Quote
Old 10th December 2009   #17
Lives for gear
 
synthoid's Avatar
 
Join Date: May 2006
Posts: 2,659

I'm working at 32 samples of latency more and more. Using an RME RayDAT card with Logic 9 on an 8-core Mac Pro. Once you get to 32 samples, you're in the ballbark of TDM systems anyhow.

I've done several live shows, doing a submix of instruments and voice from the stage at 32 samples of latency with a FF400 as well. Sometimes I use 64 samples on stage; that doesn't seem to pose much of a problem as far as noticeable latency in the monitor mix.

Seems to me like native systems are either all the way there or very nearly there at this point, with the right audio interface.

-synthoid
__________________
jomomusic.com
synthoid is offline   Reply With Quote
Old 10th December 2009   #18
Gear addict
 
Ry-Fi's Avatar
 
Join Date: Sep 2007
Location: Calgary, AB
Posts: 386

Summarily, it's because operating systems for general purpose computing are not currently designed to provide any kind of near-real-time scheduling for certain activities.

The real question is, why haven't they implemented such options yet? Why isn't there a Windows/OSX version customized for DAW/audio/video/etc use? It may or may not need to be a radically different kernel, but what it would need is a 'control panel' that allows you control over the scheduling schemas and ability to fine tune the performance of your system depending on your particular applications and needs. For example, it would allow you to mark the drivers and processes that require high priority scheduling at the expense of all other systems.

Surely this is feasible, no? To anyone's knowledge, have the big OS vendors ever considered making such "near-real-time" versions of their OSes for the omnipresent and ever-growing market where personal computers are the cornerstones of all modern technological crafts ?
Ry-Fi is offline   Reply With Quote
Old 10th December 2009   #19
Lives for gear
 
synthoid's Avatar
 
Join Date: May 2006
Posts: 2,659

Quote:
Originally Posted by Ry-Fi View Post
Surely this is feasible, no? To anyone's knowledge, have the big OS vendors ever considered making such "near-real-time" versions of their OSes for the omnipresent and ever-growing market where personal computers are the cornerstones of all modern technological crafts ?
I spent many years working on software and computer architecture for real-time stuff (cell phones, communications, etc.) The thing is that it is not only an OS consideration. Take the Motorola 56K for example (the DSP inside the TDM cards). They don't use the same kind of cache or paging structure that an Intel processor does, for the very reason that their applications require knowing exactly how many cycles such-and-such an operation will take (no iffy stuff about cache misses or page faults or context switches or variable pipeline stalls allowed). So it's a whole system design and not exclusively an OS thing.

But something like Core Audio is very much an OS vendor doing near-real-time stuff in the OS. They lock all kinds of critical pages and processes down and tune them for real-time response, to get as close as is feasible on a general-purpose Intel platform. It works well, don't you think? I mean, there's a fixed latency in a hard real-time system like a 56K-based system too, and it's not much better than what is currently delivered by Core Audio with a high-end interface.

-synthoid
synthoid is offline   Reply With Quote
Old 10th December 2009   #20
Gear addict
 
Ry-Fi's Avatar
 
Join Date: Sep 2007
Location: Calgary, AB
Posts: 386

Quote:
Originally Posted by synthoid View Post
But something like Core Audio is very much an OS vendor doing near-real-time stuff in the OS. They lock all kinds of critical pages and processes down and tune them for real-time response, to get as close as is feasible on a general-purpose Intel platform. It works well, don't you think?

-synthoid
I don't know - I'm on PC. I know Windows sure picks some HORRIBLE times to do random things like launching Windows Update, disk indexing, etc. But for what it's worth, my system is tweaked and I have no complaints or unrealistic expectations about the performance I get anyways.

Thanks for the interesting perspective. It seems like you've worked on some cool stuff! thumbsup
Ry-Fi is offline   Reply With Quote
Old 10th December 2009   #21
Lives for gear
 
synthoid's Avatar
 
Join Date: May 2006
Posts: 2,659

Quote:
Originally Posted by Ry-Fi View Post
I don't know - I'm on PC. I know Windows sure picks some HORRIBLE times to do random things like launching Windows Update, disk indexing, etc. But for what it's worth, my system is tweaked and I have no complaints or unrealistic expectations about the performance I get anyways.
Yeah, it's pretty f*cked when your important audio sessions comes to a grinding halt because of some high-level activity like a sw update, haha. That's not a real-time thing, that's more like a common sense thing. Even your cell phone doesn't work the same when you're updating the firmware in it haha.

Quote:
Thanks for the interesting perspective. It seems like you've worked on some cool stuff! thumbsup
Yes, but these days I'm full-time in music and it's a LOT more interesting than high tech stuff IMO. (It's not nearly as lucrative though. )

-synthoid
synthoid is offline   Reply With Quote
New Reply New Reply Submit Thread to Facebook Facebook  Submit Thread to Twitter Twitter  Submit Thread to LinkedIn LinkedIn 



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread starter Forum Replies Last Post
Cas latency related to audio latency??? AB3 Music computers 4 11th July 2008 08:24 AM
latency hectc7 So much gear, so little time! 4 11th June 2008 04:56 AM
Digi 192 Latency vs. Apogee Latency Both with HD barryjohns High end 5 11th February 2007 07:34 PM
PT LE and latency. bodega. Music computers 16 29th September 2006 02:03 AM
UAD-"What Latency?" + other PT-LE latency results BradG So much gear, so little time! 16 29th March 2006 02:52 AM


All times are GMT +1. The time now is 07:50 PM.

 
 
Powered by vBulletin®
Gearslutz.com Limited - UK Company Number 7597610.
Registered Office: 35 Ballards Lane, London, N3 1XW.

SEO by vBSEO ©2010, Crawlability, Inc.