Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: opening a file in defalut application Pin
toxcct12-Jun-06 21:59
toxcct12-Jun-06 21:59 
QuestionPlease help! add new line in mid of text file Pin
rutr12-Jun-06 2:59
rutr12-Jun-06 2:59 
AnswerRe: Please help! add new line in mid of text file Pin
Cedric Moonen12-Jun-06 3:09
Cedric Moonen12-Jun-06 3:09 
AnswerRe: Please help! add new line in mid of text file Pin
_AnsHUMAN_ 12-Jun-06 3:21
_AnsHUMAN_ 12-Jun-06 3:21 
Questionbreak when variable changes? Pin
ardikus12-Jun-06 2:59
ardikus12-Jun-06 2:59 
AnswerRe: break when variable changes? Pin
Obliterator12-Jun-06 4:19
Obliterator12-Jun-06 4:19 
AnswerRe: break when variable changes? Pin
Zac Howland12-Jun-06 5:36
Zac Howland12-Jun-06 5:36 
Questionwhy page based I/O can improve performance? Pin
George_George12-Jun-06 2:40
George_George12-Jun-06 2:40 
Hello everyone,


I heard that page based I/O can improve performance, so some guys developed some page based I/O library which reads a file in page unit. For example, when we read the first byte, they will read an entire page (for example, 4k bytes) into memory, then when we are seeking to some other bytes inside a page, the bytes can be found from the page loaded in memory.

But, I also heard that when accessing OS File I/O, OS File I/O library implements page based I/O internally, for example, when you just read a byte using fseek or something, it will reads a whole page (maybe 4k or something) into memory.

My question is, which is true (OS provides page based I/O internally or not)? If OS provides page based I/O, why some guys always say that they are using page based I/O to improve performance.


thanks in advance,
George
AnswerRe: why page based I/O can improve performance? Pin
Michael Dunn12-Jun-06 6:54
sitebuilderMichael Dunn12-Jun-06 6:54 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 0:16
George_George13-Jun-06 0:16 
AnswerRe: why page based I/O can improve performance? Pin
Joe Woodbury12-Jun-06 10:41
professionalJoe Woodbury12-Jun-06 10:41 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 0:18
George_George13-Jun-06 0:18 
GeneralRe: why page based I/O can improve performance? Pin
Joe Woodbury13-Jun-06 9:13
professionalJoe Woodbury13-Jun-06 9:13 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 16:36
George_George13-Jun-06 16:36 
QuestionProperty Sheets and Pages Pin
si_6912-Jun-06 1:34
si_6912-Jun-06 1:34 
AnswerRe: Property Sheets and Pages Pin
ThatsAlok12-Jun-06 1:53
ThatsAlok12-Jun-06 1:53 
Questionload a bitmap from bmp file at run time Pin
anilksingh12-Jun-06 1:31
anilksingh12-Jun-06 1:31 
AnswerRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 1:41
Viorel.12-Jun-06 1:41 
GeneralRe: load a bitmap from bmp file at run time Pin
ThatsAlok12-Jun-06 1:52
ThatsAlok12-Jun-06 1:52 
GeneralRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 2:06
Viorel.12-Jun-06 2:06 
GeneralRe: load a bitmap from bmp file at run time Pin
Hamid_RT12-Jun-06 1:58
Hamid_RT12-Jun-06 1:58 
GeneralRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 2:06
Viorel.12-Jun-06 2:06 
GeneralRe: load a bitmap from bmp file at run time Pin
ThatsAlok12-Jun-06 2:09
ThatsAlok12-Jun-06 2:09 
GeneralRe: load a bitmap from bmp file at run time [modified] Pin
Viorel.12-Jun-06 2:17
Viorel.12-Jun-06 2:17 
GeneralRe: load a bitmap from bmp file at run time Pin
ThatsAlok12-Jun-06 2:14
ThatsAlok12-Jun-06 2:14 

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.