| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thursday, June 5, 2003, at 07:33 AM, Stiphane Sudre wrote:
I'm testing what kind of performance I can get from a Socket NKE communication from a Kernel Extension to a user land application.
I set the recv_space of the socket to be 224 KB in the Kernel
In the application, I'm using a CFSocket to read the data when available.
To communicate with the application I'm sbappending 32 Bytes data using the same kind of code that the NKE tcpdumper sample code.
My unrealistic dream is to reach a peak of 1 MB/s. But 300 KB/s would already be fair.
From the test I'm making, the performance can just reach 25 KB/s. Is this not a bit weak compared to what should be expected?
Yup, it's quite low. If you are just in a loop, sbappending 32 bytes at a time, I don't know that you'll get high performance, and you will certainly churn up a lot of CPU cycles no matter what.
What are you trying to achieve?
| References: | |
| >Re: Socket NKE performance (From: "Justin C. Walker" <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.