Click here to Skip to main content
15,886,519 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Please give the correct ans of my question PinPopular
Garth J Lancaster14-Apr-10 17:39
professionalGarth J Lancaster14-Apr-10 17:39 
AnswerRe: Please give the correct ans of my question Pin
ThatsAlok14-Apr-10 18:07
ThatsAlok14-Apr-10 18:07 
JokeRe: Please give the correct ans of my question Pin
Michel Godfroid14-Apr-10 20:57
Michel Godfroid14-Apr-10 20:57 
AnswerRe: Please give the correct ans of my question Pin
markkuk14-Apr-10 22:16
markkuk14-Apr-10 22:16 
GeneralRe: Please give the correct ans of my question Pin
Michel Godfroid15-Apr-10 4:51
Michel Godfroid15-Apr-10 4:51 
GeneralRe: Please give the correct ans of my question Pin
Rozis15-Apr-10 11:27
Rozis15-Apr-10 11:27 
AnswerRe: Please give the correct ans of my question Pin
Chris Losinger15-Apr-10 1:33
professionalChris Losinger15-Apr-10 1:33 
QuestionFile System I/O Pin
javster8714-Apr-10 12:35
javster8714-Apr-10 12:35 
Characterize and compare the performance of file I/O by implementing reading and writing of files through the following three methods:

· I/O through system calls read and write

· Memory mapped I/O through mmap

· Buffered I/O through read and write



You should implement a program that can either read or write blocks of a given size from a large file. The user should be able to specify the I/O method to use for reading and writing. For example, writing blocks of 1K through system calls (the first method above) may be done as follows:

iotest --method=syscall --blocksize=1024 --operation=write

Use your program to measure the read and write I/O performance achieved through the three methods for various block sizes. What can you deduce from your observations?
RantRe: File System I/O Pin
Michel Godfroid14-Apr-10 13:18
Michel Godfroid14-Apr-10 13:18 
AnswerRe: File System I/O Pin
ThatsAlok14-Apr-10 18:09
ThatsAlok14-Apr-10 18:09 
AnswerRe: File System I/O Pin
enhzflep15-Apr-10 0:37
enhzflep15-Apr-10 0:37 
AnswerRe: File System I/O Pin
Chris Losinger15-Apr-10 1:33
professionalChris Losinger15-Apr-10 1:33 
AnswerRe: File System I/O Pin
David Crow15-Apr-10 3:11
David Crow15-Apr-10 3:11 
Questionhelp with array in C Pin
Farraj14-Apr-10 9:12
Farraj14-Apr-10 9:12 
AnswerRe: help with array in C Pin
Luc Pattyn14-Apr-10 9:27
sitebuilderLuc Pattyn14-Apr-10 9:27 
GeneralRe: help with array in C Pin
Maximilien14-Apr-10 12:51
Maximilien14-Apr-10 12:51 
AnswerRe: help with array in C Pin
Farraj14-Apr-10 9:31
Farraj14-Apr-10 9:31 
AnswerRe: help with array in C Pin
«_Superman_»14-Apr-10 9:42
professional«_Superman_»14-Apr-10 9:42 
QuestionRe: help with array in C Pin
CPallini14-Apr-10 9:54
mveCPallini14-Apr-10 9:54 
AnswerRe: help with array in C Pin
Luc Pattyn14-Apr-10 10:30
sitebuilderLuc Pattyn14-Apr-10 10:30 
GeneralRe: help with array in C Pin
CPallini14-Apr-10 10:40
mveCPallini14-Apr-10 10:40 
GeneralRe: help with array in C Pin
Luc Pattyn14-Apr-10 10:42
sitebuilderLuc Pattyn14-Apr-10 10:42 
GeneralRe: help with array in C Pin
CPallini14-Apr-10 11:06
mveCPallini14-Apr-10 11:06 
AnswerRe: help with array in C Pin
ThatsAlok14-Apr-10 18:20
ThatsAlok14-Apr-10 18:20 
AnswerRe: help with array in C Pin
Stuart Dootson14-Apr-10 21:55
professionalStuart Dootson14-Apr-10 21:55 

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.