> Has anyone here tried this code below on their linux machines?:
>
> #!/usr/bin/perl
>
> while(1){
> malloc(100);
> fork();
> }
>
> #results may vary
> #this also works in C and sh
>
> So far ive tried it on some distros that I have(redhat 7.3, mandrake 8,
> mandrake 9.1, slackware 9, and storm), and it successfull kills the
> machine if not hangs it. Ive tried countering it by limiting the user
> processes count, the problem is, its too few that the user cannot start
> kde and gnome.
>
> Any suggestion on this?
Maybe someone with Cygwin can try it on Windows since iirc, Cygwin
emulates fork().
I remember a simple endless malloc() would quickly bring an earlier
Linux setup of mine (kernel version 2.2.x i think) to its knees.
FreeBSD and Win2K chugged along unaffected (they may just keep
everything as vm or swap).
Leaving the rest of windows' architecture aside (like its swiss-cheese
security), the NT kernel itself is constantly improving, is nothing to
sneeze at and, based on benchmarks I've seen, can definitely give the
Linux kernel a real run for its money when it comes to multitasking or
performance. Its big disadvantage is you can't take a peek inside :-).
Also, how's Linux 'huge' file support coming along? Apparently, LFS (large
file support) under XP supporting up to 9 exabyte files has been quietly
available for some time now... good thing my friend didn't take me up
on my bet with him that you can't have >2GB/>4GB files under Windows,
he just honestly told me he's been editing movie files much larger without
any problem.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie