TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Dean Roddey
from: Jonathan de Boyne Pollard
date: 1994-10-07 05:04:06
subject: 512mb Is Ample Right Now

DR>
  > JdeBP>   You cannot have it both ways in two consecutive sentences.
DR>

  I said this, and in your reply you *still* try to have it both ways in
  two consecutive sentences, viz. :

DR>
  > The 2Gig size was chosen because thats the biggest file you can
  > have anyway under OS/2 so the mapping of a single large file in a
  > process could always be done [...]. That leaves plenty for the
  > operating system and user code to map into.
DR>

  Mapping a 2Gb file into a 2Gb address space *doesn't* leave "plenty" for
  the O/S and user code/data.

  Choose one or the other.  You cannot have both.

  The people who are looking at filesizes well into the gigabytes,
  *must* use partial mapping on a 32-bit architecture (i.e. "today's
  hardware" from my original message) anyway, and thus lose the benefits
  because application-level buffer management is still required.  So
  memory mapping isn't actually a solution to their problem at all.

DR>
  >                                             On the other issue,
  > [partial mapping] yes it does simplify things.
DR>

  Buffer management has to be done for partial file mapping, which
  leaves the resultant code no simpler.  Think about how access to a
  record that is not currently within the "window" must have to be
  implemented at application level.

  And if we restrict ourselves to only mapping whole files, we are back
  to my point of two messages ago, where files are being restricted to a
  "reasonable" size.  In which case, any limit is arbitrary, and *all*
  are no use to the high end folks, as they cannot use memory mapping at
  all for their files because they exceed the maximum size of the 32-bit
  address space.

  > JdeBP <
___
 X MegaMail 2.10 #0:

--- Maximus/2 2.01wb

* Origin: DoNoR/2,Woking UK (0483-725167) (2:440/4)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 440/4 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.