I understand that this is in the context of Linux without overcommit. Simon
> On 7 Mar 2017, at 22:05, Thiago Macieira <[email protected]> wrote: > > Em terça-feira, 7 de março de 2017, às 17:53:41 CET, René J.V. Bertin > escreveu: >> One tends to forget (I do at least) that spawning a little helper process >> can be quite expensive, sometimes prohibitively so. Makes you wonder what >> kind of cross-platform alternatives there are! > > It shouldn't be. > > fork() does need to copy the page tables and mark the pages as shared. It > also > means COW of certain pages. But the overhead shouldn't be that big. > > If anyone is seeing this, can you run your application with strace to get the > timings? > > strace -T -e clone > > Add -f if the forking is happening outside the main thread. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
