| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi,
On Wednesday, Jan 14, 2004, at 22:05 Europe/Berlin, Jim Magee wrote:
There are "helper" threads that process the data within the in-kernel network code somewhat isolating your thread from directly accessing the network hardware in that way. Your realtime thread may even interfere with the responsiveness of these helper threads in ways that might affect your own data. Even if you don't interfere with the processing of the in-kernel data, your response-time characteristics are going to be dominated by the scheduling behavior of these in-kernel threads. There are also situation where the network stack just borrows another user-level thread (that just happened to be in the network stack at the time) to drive completion of your packet handling (inbound and outbound). Obviously, you can't make these all realtime threads, so that too will affect your latency.
Are there other tweaks to enhance the latency of networking? I don't mind a decrease in throughput, I'm in one of the rare cases where bandwidth is not the limit. There are these popular "bandwidth tuner" tweaks where people change the system's TCP buffer size with sysctls, would shrinking the buffers give me any latency improvements or will that result in dropped packets?
| References: | |
| >Re: scheduling question (From: Stefan Werner <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.