home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / forth / 3814 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.lang.forth
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!crabapple.srv.cs.cmu.edu!dwp
  3. From: dwp+@cs.cmu.edu (Doug Philips)
  4. Subject: Re: Documenting
  5. Message-ID: <C0K3r8.EsE.1@cs.cmu.edu>
  6. Summary: something salient, shortly stated, sadly seldom satoric
  7. Sender: news@cs.cmu.edu (Usenet News System)
  8. Nntp-Posting-Host: vega.fac.cs.cmu.edu
  9. Organization: EIEI-U
  10. References: <C0CsnE.CrC@starnine.com> <C0D1tD.IyH.1@cs.cmu.edu> <peterd.726243633@pjd.dev.cdx.mot.com>
  11. Date: Fri, 8 Jan 1993 22:28:05 GMT
  12. Lines: 30
  13.  
  14. In article <peterd.726243633@pjd.dev.cdx.mot.com> peterd@pjd.dev.cdx.mot.com (Peter Desnoyers) writes:
  15. +dwp+@cs.cmu.edu (Doug Philips) writes:
  16. +>Whoa a minute here.  Most OS's (those that have EOL characters), also have
  17. +>file systems with allocations in units of sectors (or multiple-sector
  18. +>unitss), and bunches of tiny files will waste a lot of space.  If this is
  19. +>really an issue, then let's be clear about it.
  20. +
  21. +On most UNIX machines, the smallest fragment that can be allocated is
  22. +between 1/2K and 2K. (1/8 to 1/4 of a block, with block size 4K or 8K)
  23. +In addition, some Unix file systems can store tiny files (e.g. <60
  24. +bytes) in the directory entry - i.e. for free. [see the recent
  25. +discussion in comp.os.linux.]
  26. +
  27. +Screens are *not* more efficient with regards to storage than file
  28. +systems. 
  29.  
  30. One of the assumptions made by various participants in this discussion
  31. is the size of the "code" to be stored (either in blocks or files).  In
  32. addition, I was not comparing blocks in a Forth system to any
  33. particular implementation of a Unix file system.  Without getting down to
  34. nitty gritties, the claim that screens are/aren't more efficient is
  35. vacuous at best and disingenuous at worst.  The original claim, that lots
  36. of tiny files is more efficient than blocks in more likely than not to be
  37. false.  Perhaps on an experimental Linux system it would be true, but not
  38. over most of the DOS/Amiga/Unix implementations out there.  
  39.  
  40. -Dou:
  41. -- 
  42. ---
  43. email to: dwp@willett.pgh.pa.us is preferred to From: address but both work.
  44.