From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from merlin.infradead.org ([205.233.59.134]:52272 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754444Ab3F1OI7 (ORCPT ); Fri, 28 Jun 2013 10:08:59 -0400 Date: Fri, 28 Jun 2013 16:08:56 +0200 From: Jens Axboe Subject: Re: Make threads access the same files? Message-ID: <20130628140856.GO24293@kernel.dk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: Andrew Davidoff Cc: fio@vger.kernel.org On Thu, Jun 27 2013, Andrew Davidoff wrote: > Hi, > > If I understand fio's threaded operation, mrfiles are generated for > each thread (jobs=N), and each thread operates on its own files. Is > there a way to tell fio to spawn multiple threads, but for each to > access a single set of files? > > So: > > nrfiles=2048 > jobs=12 > > Would produce 12 threads working against the same 2048 files. See the 'filename_format' option. -- Jens Axboe