Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WriteFile API performance abnormal Pin
chandu00418-Jun-09 21:36
chandu00418-Jun-09 21:36 
GeneralRe: WriteFile API performance abnormal Pin
denghp18-Jun-09 21:38
denghp18-Jun-09 21:38 
AnswerRe: WriteFile API performance abnormal Pin
Stuart Dootson18-Jun-09 22:32
professionalStuart Dootson18-Jun-09 22:32 
GeneralRe: WriteFile API performance abnormal Pin
denghp18-Jun-09 22:46
denghp18-Jun-09 22:46 
GeneralRe: WriteFile API performance abnormal Pin
chandu00418-Jun-09 22:54
chandu00418-Jun-09 22:54 
GeneralRe: WriteFile API performance abnormal Pin
Stuart Dootson18-Jun-09 22:58
professionalStuart Dootson18-Jun-09 22:58 
GeneralRe: WriteFile API performance abnormal Pin
denghp18-Jun-09 23:12
denghp18-Jun-09 23:12 
GeneralRe: WriteFile API performance abnormal Pin
Stuart Dootson18-Jun-09 23:27
professionalStuart Dootson18-Jun-09 23:27 
denghp wrote:
Q:what's the real write speed of your disks?
A:The speed is no less than 150MB/S.


That may be true on average, when it's able to write sequentially. However, when some other process needs to read or write with the disk, you are going to get a lot slower performance. The other read/write will likely require the head to seek to somewhere else on the disk, which will take ~10ms, then seek back to your file (another 10ms) before starting to write again.

Is the RAIDed partition used purely for writing your data? If not, I'd alter your system so it does work that way (i.e. get a separate disk for Windows, your programs, data etc).

denghp wrote:
Q:how long does it take to flush the buffer to disk?


I meant the buffer(s) in hte RAID controller/hard drive controllers. Never mind.

denghp wrote:
Asynchronous IO may lose data


Really. Got proof for that assertion?

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

AnswerRe: WriteFile API performance abnormal Pin
Michael Schubert19-Jun-09 0:03
Michael Schubert19-Jun-09 0:03 
Questioncreating own gps map in vc++ Pin
gpsmercato18-Jun-09 20:17
gpsmercato18-Jun-09 20:17 
AnswerRe: creating own gps map in vc++ Pin
chirag_chauhan18-Jun-09 20:47
chirag_chauhan18-Jun-09 20:47 
AnswerRe: creating own gps map in vc++ Pin
chandu00418-Jun-09 20:51
chandu00418-Jun-09 20:51 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato18-Jun-09 21:13
gpsmercato18-Jun-09 21:13 
GeneralRe: creating own gps map in vc++ Pin
chandu00418-Jun-09 21:23
chandu00418-Jun-09 21:23 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato18-Jun-09 22:22
gpsmercato18-Jun-09 22:22 
GeneralRe: creating own gps map in vc++ Pin
chandu00418-Jun-09 22:37
chandu00418-Jun-09 22:37 
General[Message Deleted] Pin
gpsmercato19-Jun-09 0:01
gpsmercato19-Jun-09 0:01 
JokeRe: creating own gps map in vc++ Pin
chandu00419-Jun-09 0:06
chandu00419-Jun-09 0:06 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato19-Jun-09 0:34
gpsmercato19-Jun-09 0:34 
GeneralRe: creating own gps map in vc++ Pin
chandu00419-Jun-09 0:37
chandu00419-Jun-09 0:37 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato19-Jun-09 0:51
gpsmercato19-Jun-09 0:51 
GeneralRe: creating own gps map in vc++ Pin
chandu00419-Jun-09 0:55
chandu00419-Jun-09 0:55 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato19-Jun-09 1:03
gpsmercato19-Jun-09 1:03 
GeneralRe: creating own gps map in vc++ Pin
gpsmercato19-Jun-09 1:05
gpsmercato19-Jun-09 1:05 
GeneralRe: creating own gps map in vc++ Pin
chandu00419-Jun-09 1:13
chandu00419-Jun-09 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.