home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v7 / text0004.txt < prev    next >
Encoding:
Text File  |  1987-06-30  |  8.5 KB  |  216 lines

  1. The POSIX(TM) Trial Use Standard has attached to it an Appendix H
  2. whose purpose was to include parameters not in <limits.h> but
  3. that might be of use to an application porter in determining
  4. how well or if an application would run on a target system.
  5.  
  6. This appendix was removed from the working document at the Palo
  7. Alto meeting of the working group on the grounds that while
  8. a guide of this type for the application porter might well
  9. be useful, Appendix H is not it.  This is because the information
  10. it requests is too arbitrary, too vague, and it was written by
  11. representatives of vendors, not users.
  12.  
  13. A committee of representatives of users was appointed to produce
  14. a proposal for a replacement appendix.  It occurs to me that there
  15. are a lot of users on USENET.  It would be interesting to gather
  16. comments on what should be in the new appendix.
  17.  
  18. A couple of caveats:  I am not on the subcommittee just mentioned,
  19. and they are under no obligation to pay attention to anything that
  20. appears here.  And minor modifications to the previous appendix
  21. are not what is wanted:  a plan for a complete new set of implementation
  22. characteristics is needed.  Given those constraints, I suspect someone
  23. out there may still be able to make useful suggestions.
  24.  
  25. Since Appendix H is an appendix and not part of the Trial Use Standard
  26. proper, I am permitted to post it to the network.  Here is its full text
  27. as it was before it was removed in Palo Alto:
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                      H.  Additional System Characteristics
  34.  
  35.           In the header file <limits.h> we have placed parameters that
  36.           may  vary  from  system  to  system  and  need to be used by
  37.           applications in a dynamic fashion.  There is also a  set  of
  38.           parameters  that  can  influence  how an application program
  39.           runs (or if it will run) which are not  dynamic  application
  40.           parameters,   but   may   be   essential   in   matching  an
  41.           implementation  and  application  to  make  sure  they  work
  42.           together.
  43.  
  44.           Should conforming implementations  be  required  to  provide
  45.           this in printed form on a product model basis?  Should it be
  46.           recommended  that  application  implementors   define   what
  47.           parameters  from  this  list impact the ability to run their
  48.           application?
  49.  
  50.           This  would  eventually  go  into  the  definitions  section
  51.           (Ch. 2)  or  perhaps a section of its own. Feedback on these
  52.           items is sought in the trial use period to  determine  which
  53.           are  considered  to  be  of  use  in determining application
  54.           portability and capacity.
  55.  
  56.           H.1  Conforming implementation characteristics
  57.  
  58.           In addition to the parameters specified in the  header  file
  59.           <limits.h>,  the  following information shall be provided to
  60.           more clearly describe a conforming implementation.   Vendors
  61.           of   conforming   applications   should  provide  a  similar
  62.           description   indicating   the   required   and    preferred
  63.           characteristics  of  an  implementation  that  might  use an
  64.           application.  Such a specification might include  how  these
  65.           parameters  need  to  vary  as  application  use varies (for
  66.           example, with increase in the number of users, in the number
  67.           of  records,  or  in  the transaction rates).  Some of these
  68.           characteristics are simple numbers, others  may  be  in  the
  69.           control  of  a  system  manager  within  limits and some may
  70.           differ within limits of hardware configurations.  In all  of
  71.           these  cases  the  limits  shall  be described.  In any case
  72.           there are no specified range of values for these  parameters
  73.           required  by  this standard.  Some of these limit values may
  74.           be mutually exclusive for a given implementation or product.
  75.  
  76.           Is sizeof(int)=sizeof(ptr)?
  77.  
  78.           Maximum number of users logged in at one time
  79.           Maximum number of user IDs
  80.           Maximum number of active processes
  81.           Maximum number of processes connected by a pipe
  82.  
  83.           Maximum number of groups
  84.           Maximum number of users in a group
  85.  
  86.           Maximum number of hours until clock rollover
  87.  
  88.  
  89.  
  90.           H.1 Conforming implementation characteristics              1
  91.  
  92.           IEEE Std 1003.1       POSIX Appendix H    Trial Use Standard
  93.  
  94.  
  95.           Calendar date/time when calendar rollover occurs
  96.  
  97.           Maximum number of serial ports
  98.           Number of ports that support Modem Control
  99.           Maximum bit rate per serial port
  100.           Maximum aggregate character input rate
  101.           Maximum aggregate character output rate
  102.           Maximum aggregate character input & output rate
  103.  
  104.           Maximum number of directories
  105.           Maximum number of levels of directory nesting
  106.           Maximum number of files per logical volume
  107.           Maximum number of logical volumes concurrently mounted
  108.  
  109.           Maximum number of locks per logical volume
  110.           Maximum number of locks active at one time
  111.           Maximum number of files that can be opened concurrently
  112.           Maximum number of files a process can open concurrently
  113.  
  114.           Maximum logical file size
  115.           Maximum physical file size
  116.           Maximum logical volume size
  117.           Maximum physical disk capacity (multi-spindles)
  118.  
  119.           Maximum delay in writting modified buffers to disk
  120.  
  121.           Minimum disk storage occupied by OS & essential tools
  122.           Maximum disk storage occupied by OS including tools
  123.  
  124.           Implementation supports swapping of processes?
  125.           Implementation supports virtual memory paging?
  126.  
  127.           Maximum physical memory capacity
  128.           Maximum physical memory address space per process
  129.           Maximum logical address space per process
  130.           Maximum text/instruction address space per process
  131.           Can text/instruction address space be shared?
  132.           Maximum local data space per process
  133.           Maximum size for a single array in bytes
  134.           Maximum global (shared) data space per process
  135.           Maximum stack space per process
  136.  
  137.           Minimum RAM used by resident OS kernel
  138.           Maximum RAM used by resident OS kernel
  139.  
  140.           Maximum number of characters significant in external C
  141.                   variable and procedure names
  142.           Internal character representation (ASCII,...)
  143.           Number of bits used for internal character storage
  144.           Number of bits/character permitted in string I/O
  145.           Number of bits/character permitted in file names
  146.  
  147.           Floating point format (IEEE, other)
  148.           Floating point mantissa range
  149.  
  150.  
  151.  
  152.           H.1 Conforming implementation characteristics              2
  153.  
  154.           IEEE Std 1003.1       POSIX Appendix H    Trial Use Standard
  155.  
  156.  
  157.           Floating point exponent range
  158.  
  159.           Number of bits per register
  160.           Number of registers that can be assigned to pointer variables
  161.           Number of registers that can be assigned to short variables
  162.           Number of registers that can be assigned to integer variables
  163.           Number of registers that can be assigned to long variables
  164.           Number of registers that can be assigned to float variables
  165.           Number of registers that can be assigned to double variables
  166.  
  167.           Media classes supported:
  168.           1/2 in. tape, 9 track, 1600 bpi
  169.           1/2 in. tape, 9 track, 6250 bpi
  170.           Qic-11, 1/4 in. streamer tape
  171.           Qic-24, 1/4 in. streamer tape
  172.           5.25 inch floppy, 8 512-byte sectors/track, 96 tpi
  173.           5.25 inch floppy, 8 512-byte sectors/track, 48 tpi
  174.  
  175.           Some number of these  questions  are  configuration-specific
  176.           and  may  vary  dynamically  in  execution  (for instance, a
  177.           system has a theoretical maximum disk storage  capacity,  at
  178.           execution  it  has some maximum of connected storage, and at
  179.           any point in time  the  maximum  amount  available  that  is
  180.           mounted  is  in  flux).   This  may call for three levels of
  181.           specifying some of this data:
  182.  
  183.           1.  Published theoretical maximum values
  184.  
  185.           2.  Static configuration files that may be read and
  186.           interpreted by an executing program
  187.  
  188.           3. System calls that provide dynamic snapshots of key
  189.           information.
  190.  
  191.           Please provide feedback on which of these  may  require  the
  192.           second or third form of description.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.           H.1 Conforming implementation characteristics              3
  213.  
  214. Volume-Number: Volume 7, Number 5
  215.  
  216.