Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!speck@cit-vax.ARPA From: speck@cit-vax.ARPA Newsgroups: net.unix-wizards Subject: How do I calculate UPAGES? Message-ID: <12949@sri-arpa.UUCP> Date: Tue, 28-Aug-84 23:39:31 EDT Article-I.D.: sri-arpa.12949 Posted: Tue Aug 28 23:39:31 1984 Date-Received: Sat, 1-Sep-84 08:33:38 EDT Lines: 18 From: Don Speck Long ago, 4.2bsd on our vax was recompiled for 16 megabytes data segment size. It seems to have been accomplished by changing three #define's: old new file NDMAP 16 36 /sys/h/dmap.h MAXDSIZ 12K-64 32K-64 /sys/vax/vmparam.h UPAGES 8 10 /sys/vax/param.h MAXDSIZ is obvious (number of 512-byte pages), and NDMAP can be figured out (4 entries for the 32K, 64K, 128K, 256K swap slots, plus one entry for each 512K thereafter). But the relationship between UPAGES (pages of u-area?) and sizeof(struct user) is unclear. Does anyone know how this is supposed to be calculated? What value of UPAGES should I use when I raise NDMAP to 84 (40 Mb virtual memory)? Don Speck speck@cit-vax.arpa decvax!cithep!cit-vax!speck