linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* reliability of linux-vm subsystem
@ 2000-11-13 11:59 aprasad
  0 siblings, 0 replies; only message in thread
From: aprasad @ 2000-11-13 11:59 UTC (permalink / raw)
  To: linux-kernel, linux-mm

Hi,

When i run following code many times.
System becomes useless till all of the instance of this programming are
killed by vmm.
Till that time linux doesn't accept any command though it switches from one
VT to another but its useless.
The above programme is run as normal user previleges.
Theoretically load should increase but system should services other users
too.
but this is not behaving in that way.
___________________________________________________________________
main()
{
     char *x[1000];
     int count=1000,i=0;
     for(i=0; i <count; i++)
          x[i] = (char*)malloc(1024*1024*10); /*10MB each time*/

}
_______________________________________________________________________
If i run above programm for 10 times , then system is useless for around
5-7minutes on PIII/128MB.

regards,
Anil


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-13 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 11:59 reliability of linux-vm subsystem aprasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox