[haiku-bugs] Re: [Haiku] #13081: Can only run any program a limited number of times before hanging

  • From: "AGMS" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Dec 2016 21:08:39 -0000

#13081: Can only run any program a limited number of times before hanging
----------------------+--------------------------------------
   Reporter:  AGMS    |      Owner:  nobody
       Type:  bug     |     Status:  new
   Priority:  normal  |  Milestone:  Unscheduled
  Component:  System  |    Version:  R1/Development
 Resolution:          |   Keywords:  relocate_image, system()
 Blocked By:          |   Blocking:
Has a Patch:  0       |   Platform:  All
----------------------+--------------------------------------

Comment (by AGMS):

 Replying to [comment:3 korli]:

I failed to reproduce on hrev50773 x86_64, qemu 2CPUs 10 parallel tests
 (system() and load_image()), 1000 runs.

 You're right, I couldn't get it to happen in x86_64 either.  Though the
 forking/execute program speed is slow, over 10 minutes, with 10 windows
 open, got up to 8000ish iterations, so that's 80000 forks in 10 minutes or
 8000 forks per minute or 133 forks per second.

 With 32 bit Haiku, it's a bit faster (10000 interations in 10 minutes, or
 166 forks per second), until it stops working (first one cut out at just
 over 5000 iterations on a bare hardware test, hrev50765, Intel 4820K i7 4
 core CPU at 3.7Ghz).

 And with a recent Linux on the same hardware, it zips along at 9000 forks
 per second.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13081#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: