Flexible I/O Tester development
 help / color / mirror / Atom feed
* Threading vs forking
@ 2015-10-11  3:57 Matthew Eaton
  2015-10-19 14:40 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Eaton @ 2015-10-11  3:57 UTC (permalink / raw)
  To: fio

Hello fio group,

I have been wondering is there any point in telling fio to use threads
rather than forking on a linux platform? Is there any benefit?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Threading vs forking
  2015-10-11  3:57 Threading vs forking Matthew Eaton
@ 2015-10-19 14:40 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2015-10-19 14:40 UTC (permalink / raw)
  To: Matthew Eaton, fio

On 10/10/2015 09:57 PM, Matthew Eaton wrote:
> Hello fio group,
>
> I have been wondering is there any point in telling fio to use threads
> rather than forking on a linux platform? Is there any benefit?

Fio is no different than other programs in that regard. Benefits include 
cheaper switching between threads, downsides include things like shared 
mm that can hurt you a bit since the threads share the mmap_sem. From 
fio's point of view, the option is there so you can choose what best 
models the target application.


-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-19 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-11  3:57 Threading vs forking Matthew Eaton
2015-10-19 14:40 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox