From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <5554C050.80703@kernel.dk> Date: Thu, 14 May 2015 11:33:36 -0400 From: Jens Axboe MIME-Version: 1.0 Subject: Re: --thinktime seems not work References: <555360BE.6010303@kernel.dk> <555369BA.4040101@kernel.dk> <5553D7B0.2010306@cran.org.uk> In-Reply-To: <5553D7B0.2010306@cran.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Bruce Cran , Rodrigo Ribeiro Gomes Cc: fio@vger.kernel.org List-ID: On 05/13/2015 07:01 PM, Bruce Cran wrote: > On 5/13/2015 9:11 AM, Jens Axboe wrote: >> >> It's possible, the Windows part does have its own nanosleep() >> function, which fio calls for this part. That's the only OS dependent >> bit in this equation. >> >> Bruce? >> > > Well, on Windows the nanosleep() function appears to be working with the > latest fio code, so I'm not sure what might be going wrong. I did read the code, and it looked OK to me. So ditto, no real idea on what is going on here. Rodrigo, are you using a 32-bit build? Maybe the ints overflow. Does it work if you use smaller delays, the 10s delay per IO is pretty massive. -- Jens Axboe