🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by Ping-Dar Lee Tue, 28 May 1991 22:52
HPFS block size
#3156
Author: Ping-Dar Lee
Date: Tue, 28 May 1991 22:52
1 lines
652 bytes
I am trying to write a performance related application on the top of the HPFS.  The block orientied application might gain the performance benifit if both application and HPFS have the same block size.  Does anybody know the block size of the HPFS.  Thanks in advance!
Re: HPFS block size
#3166
Author: Peter Forsberg
Date: Wed, 29 May 1991 20:11
26 lines
1946 bytes
In article <716@cronos.metaphor.com> plee@cronos.metaphor.com (Ping-Dar Lee) writes:

   I am trying to write a performance related application on the top 
   of the HPFS.  The block orientied application might gain the performance 
   benifit if both application and HPFS have the same block size.  Does 
   anybody know the block size of the HPFS.  Thanks in advance!

The HPFS uses a sector size of 512 bytes. I don't think, though, that it
matters that much how much you read/write at a time, as the HPFS will adapt 
itself after *how* you read/write (i.e. how much at a time, sequentially/
randomly, etc.). It will do its prereading and write cacheing tricks 
depending on the info you give it by means of the way you access your
files. It also uses history information stored about each files previous
usage for optimization purpouses (this became like an advertise for HPFS :-).
One tip for helping HPFS to give you optimal performance is this; if you
know how large a file will eventually be when you create it, you should
give that info to HPFS at that time. This helps HPFS minimize file frag-
mentation.

/Peter
--
Peter A. Forsberg
Royal Institute of Technology, Stockholm, Sweden.
IBM Sweden, Banking & Finance Applications.
E-mail:  d88-pfo@nada.kth.se  or  peterf@stovm1.vnet.ibm.com
#include <standard.disclaimer>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads