Re: Increasing startup time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 05 2015, Matthew Eaton wrote:
> I noticed during testing recent fio releases it seemed bit laggy to
> start, so I tried some tests and it seems fio has been increasingly
> taking longer to start for some reason.  Don't know if this is
> expected or if something is wrong?

Try the below.


diff --git a/smalloc.c b/smalloc.c
index 8412e7518464..ce64d6b73df6 100644
--- a/smalloc.c
+++ b/smalloc.c
@@ -213,7 +213,6 @@ static int add_pool(struct pool *pool, unsigned int alloc_size)
 	if (ptr == MAP_FAILED)
 		goto out_fail;
 
-	memset(ptr, 0, alloc_size);
 	pool->map = ptr;
 	pool->bitmap = (void *) ptr + (pool->nr_blocks * SMALLOC_BPL);
 

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux