This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Excessive thrashing when popen()ing after a large malloc()


I tried your program as is:

~/test> cygthrash
 0.000 Before std
 0.781 After std
 0.828 Result: Tue Nov 14 20:51:52 PST 2006
 0.828 After close std
 0.000 Before new
 0.015 After new
 0.062 Result: Tue Nov 14 20:51:52 PST 2006
 0.062 After close new
 0.000 Before std
 0.766 After std
 0.797 Result: Tue Nov 14 20:51:53 PST 2006
 0.797 After close std

(no thrash) and with 750Mb malloc:

~/test> cygthrash
 0.000 Before std
 0.015 After std
 0.046 Result: Tue Nov 14 20:53:41 PST 2006
 0.046 After close std
 0.000 Before new
 0.000 After new
 0.032 Result: Tue Nov 14 20:53:41 PST 2006
 0.032 After close new
 0.000 Before std
 0.015 After std
 0.047 Result: Tue Nov 14 20:53:41 PST 2006
 0.047 After close std

at 1G malloc, I started running out of memory

Loic Grenie wrote:
On Tue Nov 14 15:53:36 2006, Eric Blake (ebb9@byu.net ) wrote:
And admitting that your changes are untested is not a good sign for
getting it approved.
    I'm not really "admitting", I am just expliciting that the patch is
  untested. I do not have the resources to build the thing.

Sorry to have disturbed, happy cygwining,
Guess you didn't know that all posters are automatically on trial here to
defend their ideas and posts.  Some can't help but take the role of
prosecutor & detective (too much CSI maybe?) :-).

-linda


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]