Re: time critical programming
- From: Lasse Vågsæther Karlsen <lasse@xxxxxxxxxxx>
- Date: Tue, 20 Nov 2007 15:46:18 +0100
martin wrote:
In .NET 3.5 you will be able to set:<snip>
System.Runtime.GCSettings.LatencyMode = GCLatencyMode.LowLatency
to fix this problem. In prior versions you have no way to influence how much time the GC consumes and when.
"Peter Sprenger" wrote:Hi,
I have no experience in doing time critical things in a .NET language. I need to modify 8 ISDN streams (each 64kbit) in realtime with max. 30ms delay. Has somebody experience in doing time ctritical things in C# or another .NET language? Could the garbage collector be a problem?
As Jon Skeet pointed out, the whole platform (Windows) is not a real time operating system so any kind of guarantee on latency goes out the window once you target Windows in general, .NET or otherwise. Sure, the GC system in .NET adds more to the mix, but even a native C++ application can't have any guarantees.
You can optimize and pray, but that's about it.
Note that I'm talking about application space. I have no idea wether anything running on ring 0 would be able to make any such guarantees.
--
Lasse Vågsæther Karlsen
mailto:lasse@xxxxxxxxxxx
http://presentationmode.blogspot.com/
.
- References:
- time critical programming
- From: Peter Sprenger
- time critical programming
- Prev by Date: Re: Bug in 2008
- Next by Date: Re: Interact with 2 or more windows in the same application
- Previous by thread: Re: time critical programming
- Next by thread: Re: time critical programming
- Index(es):