msg.h possible problem & time not working

Pavel Machek (pavel@Elf.mj.gts.cz)
Thu, 16 Oct 1997 21:12:15 +0200


Hi!

I was just browsing kernel soucres (looking on how to improve sys V
messages to make them actually usable), and found this:

#define MSGMNI 128 /* <= 1K */ /* max # of msg queue identifiers */
#define MSGMAX 4056 /* <= 4056 */ /* max size of message
(bytes)*/
~~~~
why? Looks to me like this should be page-size - 40,
what do you think?

msg.h line 15/80 56%

Also, I get some rather strange behaviour with time command. (This is
about third time command I use: first showed wall time only, second
did not show pagefaults, this looks best)

jarka@Elf:~$ time netscape
6.42user 2.39system 1:04.75elapsed 13%CPU (0avgtext+0avgdata
~~~~~~~~~~~~~~~~~~
I wish this to be true... But it
is not. Why does linux measure
these values? Is it too much
overhead?

0maxresident)k
0inputs+0outputs (2285major+694minor)pagefaults 155swaps

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).