diff options
-rw-r--r-- | open_issues/performance.mdwn | 2 | ||||
-rw-r--r-- | open_issues/performance/fork.mdwn | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/open_issues/performance.mdwn b/open_issues/performance.mdwn index 3ffffa4d..a4816680 100644 --- a/open_issues/performance.mdwn +++ b/open_issues/performance.mdwn @@ -9,3 +9,5 @@ is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] * [[I/O System|io_system]] + + * [[fork]] diff --git a/open_issues/performance/fork.mdwn b/open_issues/performance/fork.mdwn new file mode 100644 index 00000000..250b5277 --- /dev/null +++ b/open_issues/performance/fork.mdwn @@ -0,0 +1,21 @@ +[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag open_issue_glibc open_issue_hurd]] + +On Unix systems, `fork` is a rather simple system call. Our implementation in +[[glibc]] is / needs to be rather bulky. TODO: elaborate. + +This affects performance when new processes are continuously being spawned from +the shell, for example. + +Alternatives: use `posix_spawn`. Others? + +To do: hard numbers. |