Date: Tue, 29 Jul 2008 05:40:04 GMT From: Nate Eldredge <neldredge@math.ucsd.edu> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/125185: csh(1) exit on signal 11 Message-ID: <200807290540.m6T5e4EA088801@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/125185; it has been noted by GNATS. From: Nate Eldredge <neldredge@math.ucsd.edu> To: bug-followup@FreeBSD.org, 666.root@gmail.com Cc: Subject: Re: bin/125185: csh(1) exit on signal 11 Date: Mon, 28 Jul 2008 22:35:31 -0700 (PDT) FWIW, I ran the test at http://berlin.ccc.de/~packet/fork_test.c, modifying it to malloc() 10 MB first, to make it have about the same size as a csh process. On my 1.8 GHz amd64 running 7.0-RELEASE I get measured fork time: 251396 nsecs measured vfork time: 243734 nsecs a difference of about 3%. So the penalty for switching back to fork() instead of vfork() wouldn't be very much, and this is certainly the simplest fix -- a one-byte patch :) Thoughts? -- Nate Eldredge neldredge@math.ucsd.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807290540.m6T5e4EA088801>