All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@kvack.org>
To: "Elliott, Robert (Server Storage)" <Elliott@hp.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	Christoph Hellwig <hch@infradead.org>,
	"dgilbert@interlog.com" <dgilbert@interlog.com>,
	James Bottomley <James.Bottomley@HansenPartnership.com>,
	Bart Van Assche <bvanassche@fusionio.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: scsi-mq V2
Date: Thu, 10 Jul 2014 10:45:39 -0400	[thread overview]
Message-ID: <20140710144539.GU12478@kvack.org> (raw)
In-Reply-To: <94D0CD8314A33A4D9D801C0FE68B402958B96CF0@G9W0745.americas.hpqcorp.net>

On Thu, Jul 10, 2014 at 02:36:40PM +0000, Elliott, Robert (Server Storage) wrote:
> 
> 
> > -----Original Message-----
> > From: Jens Axboe [mailto:axboe@kernel.dk]
> > Sent: Thursday, 10 July, 2014 8:53 AM
> > To: Christoph Hellwig; Benjamin LaHaise
> > Cc: Elliott, Robert (Server Storage); dgilbert@interlog.com; James Bottomley;
> > Bart Van Assche; linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org
> > Subject: Re: scsi-mq V2
> > 
> > On 2014-07-10 15:50, Christoph Hellwig wrote:
> > > On Thu, Jul 10, 2014 at 09:36:09AM -0400, Benjamin LaHaise wrote:
> > >> There is one possible concern that could be exacerbated by other changes
> > in
> > >> the system: if the application is running close to the bare minimum number
> > >> of requests allocated in io_setup(), the per cpu reference counters will
> > >> have a hard time batching things.  It might be worth testing with an
> > >> increased number of requests being allocated if this is the case.
> > >
> > > Well, Robert said reverting the two aio commits didn't help.  Either he
> > > didn't manage to boot into the right kernel, or we need to look
> > > elsewhere for the culprit.
> > 
> > Rob, let me know what scsi_debug setup you use, and I can try and
> > reproduce it here as well.
> > 
> > --
> > Jens Axboe
> 
> This system has 6 online CPUs and 64 possible CPUs.
> 
> Printing avail and req_batch in that loop results in many of these:
> ** 3813 printk messages dropped ** [10643.503772] ctx ffff88042d8d4cc0 avail=0 req_batch=2
> 
> Adding CFLAGS_aio.o := -DDEBUG to the Makefile to enable
> those pr_debug prints results in nothing extra printing,
> so it's not hitting an error.
> 
> Printing nr_events and aio_max_nr at the top of ioctx_alloc results in
> these as fio starts:
> 
> [  186.339064] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.339065] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.339067] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.339068] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.339069] ioctx_alloc: nr_events=-2 aio_max_nr=65536

Something is horribly wrong here.  There is no way that value for nr_events 
should be passed in to ioctx_alloc().  This implies that userland is calling 
io_setup() with an impossibly large value for nr_events.  Can you post the 
actual diff for your fs/aio.c relative to linus' tree?

		-ben


> [  186.339070] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.339071] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.339071] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.339074] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.339076] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.339076] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.359772] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.359971] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.359972] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.359985] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.359986] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.359987] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.359995] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.359995] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.359998] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.359998] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.362529] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.362529] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.363510] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.363513] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.363520] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.363521] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.398113] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.398115] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.398121] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.398122] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.398124] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.398124] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.398130] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.398131] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.398164] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.398165] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.398499] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.400489] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.401478] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.401491] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.434522] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.434523] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.434526] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.434533] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.435370] hrtimer: interrupt took 6868 ns
> [  186.435491] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.435492] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.447864] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.449896] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.449900] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.449901] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.449909] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.449932] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.449933] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.461147] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.461176] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.461177] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.461181] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.461181] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.461184] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.461185] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.461185] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.461191] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.461192] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.474426] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.481353] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.483706] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.483707] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.483709] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.483710] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.483712] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.483717] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.495441] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495444] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495445] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.490] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495451] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.495457] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495457] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.495460] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495461] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.495463] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.495464] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.499429] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.499437] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.619785] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.627371] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.627374] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.627383] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.627384] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.627385] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.628371] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.628372] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.630361] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.665329] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.666360] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.666361] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.666366] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.666367] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.666367] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.666369] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [  186.666370] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  186.670369] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.670372] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.670373] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  186.767323] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [  187.211053] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [  187.213053] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> 
> Subsequent added prints showed nr_events coming in with
> an initial value of 0x7FFFFFFF in those cases where it showed
> as -2 above.  Since the last call had a reasonable value
> of 512, it doesn't seem like a problem.
> 
> 
> script to create the scsi_debug devices:
> #!/bin/bash
> devices=6
> delay=0         # -2 = jiffy, -1 = hi jiffy, 0 = none, 1..n = longer
> ndelay=20000    # 20 us
> opts=0x4801     #
> every_nth=3
> capacity_mib=0
> capacity_gib=$((2 * 1024))
> lbpu=1
> lbpws=1
> 
> modprobe -r scsi_debug
> modprobe -v scsi_debug fake_rw=1 delay=$delay ndelay=$ndelay num_tgts=$devices opts=$opts every_nth=$every_nth physblk_exp=3 lbpu=$lbpu lbpws=$lbpws dev_size_mb=$capacity_mib virtual_gb=$capacity_gib
> lsscsi -s
> lsblk
> # the assigned /dev names will vary...
> for device in /sys/block/sda[h-m]
> do
>         echo none > $device/device/queue_type
> done
> 
> fio script:
> [global]
> direct=1
> invalidate=1
> ioengine=libaio
> norandommap
> randrepeat=0
> bs=4096
> iodepth=96
> numjobs=6
> runtime=216000
> time_based=1
> group_reporting
> thread
> gtod_reduce=1
> iodepth_batch=16
> iodepth_batch_complete=16
> cpus_allowed=0-5
> cpus_allowed_policy=split
> rw=randread
> 
> [4_KiB_RR_drive_ah]
> filename=/dev/sdah
> 
> [4_KiB_RR_drive_ai]
> filename=/dev/sdai
> 
> [4_KiB_RR_drive_aj]
> filename=/dev/sdaj
> 
> [4_KiB_RR_drive_ak]
> filename=/dev/sdak
> 
> [4_KiB_RR_drive_al]
> filename=/dev/sdal
> 
> [4_KiB_RR_drive_am]
> filename=/dev/sdam
> 
> kernel log with some prints in ioctx_alloc:
> (2147483647 is 0x7FFFFFFF)
> 
> [   94.050877] ioctx_alloc: initial nr_events=2147483647
> [   94.053610] ioctx_alloc: num_possible_cpus=64
> [   94.055235] ioctx_alloc: after max nr_events=2147483647
> [   94.057110] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.059189] ioctx_alloc: initial nr_events=96
> [   94.059294] ioctx_alloc: initial nr_events=2147483647
> [   94.059295] ioctx_alloc: num_possible_cpus=64
> [   94.059295] ioctx_alloc: after max nr_events=2147483647
> [   94.059296] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.059296] ioctx_alloc: initial nr_events=96
> [   94.059297] ioctx_alloc: num_possible_cpus=64
> [   94.059297] ioctx_alloc: after max nr_events=256
> [   94.059298] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.075891] ioctx_alloc: num_possible_cpus=64
> [   94.077529] ioctx_alloc: after max nr_events=256
> [   94.079064] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.087777] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.087810] ioctx_alloc: initial nr_events=2147483647
> [   94.087810] ioctx_alloc: num_possible_cpus=64
> [   94.087811] ioctx_alloc: after max nr_events=2147483647
> [   94.087811] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.087812] ioctx_alloc: initial nr_events=96
> [   94.087812] ioctx_alloc: num_possible_cpus=64
> [   94.087813] ioctx_alloc: after max nr_events=256
> [   94.087813] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.087815] ioctx_alloc: initial nr_events=2147483647
> [   94.087816] ioctx_alloc: initial nr_events=2147483647
> [   94.087816] ioctx_alloc: num_possible_cpus=64
> [   94.087817] ioctx_alloc: initial nr_events=2147483647
> [   94.087818] ioctx_alloc: num_possible_cpus=64
> [   94.087819] ioctx_alloc: after max nr_events=2147483647
> [   94.087819] ioctx_alloc: num_possible_cpus=64
> [   94.087820] ioctx_alloc: after max nr_events=2147483647
> [   94.087820] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.087821] ioctx_alloc: after max nr_events=2147483647
> [   94.087822] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.087822] ioctx_alloc: initial nr_events=96
> [   94.087823] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.087824] ioctx_alloc: initial nr_events=96
> [   94.087825] ioctx_alloc: initial nr_events=2147483647
> [   94.087825] ioctx_alloc: num_possible_cpus=64
> [   94.087826] ioctx_alloc: initial nr_events=96
> [   94.087826] ioctx_alloc: num_possible_cpus=64
> [   94.087827] ioctx_alloc: num_possible_cpus=64
> [   94.087827] ioctx_alloc: after max nr_events=256
> [   94.087828] ioctx_alloc: num_possible_cpus=64
> [   94.087828] ioctx_alloc: after max nr_events=256
> [   94.087829] ioctx_alloc: after max nr_events=2147483647
> [   94.087829] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.087830] ioctx_alloc: after max nr_events=256
> [   94.087831] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.087831] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.087832] ioctx_alloc: nr_events=512 aio_max_nr=65
> [   94.087833] ioctx_alloc: initial nr_events=96
> [   94.087833] ioctx_alloc: num_possible_cpus=64
> [   94.087833] ioctx_alloc: after max nr_events=256
> [   94.087834] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.090668] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.259433] ioctx_alloc: initial nr_events=2147483647
> [   94.259435] ioctx_alloc: initial nr_events=2147483647
> [   94.259436] ioctx_alloc: num_possible_cpus=64
> [   94.259437] ioctx_alloc: after max nr_events=2147483647
> [   94.259437] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.259438] ioctx_alloc: initial nr_events=96
> [   94.259438] ioctx_alloc: num_possible_cpus=64
> [   94.259438] ioctx_alloc: after max nr_events=256
> [   94.259439] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.259446] ioctx_alloc: initial nr_events=2147483647
> [   94.259448] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.259449] ioctx_alloc: initial nr_events=2147483647
> [   94.259450] ioctx_alloc: initial nr_events=2147483647
> [   94.259450] ioctx_alloc: num_possible_cpus=64
> [   94.259451] ioctx_alloc: num_possible_cpus=64
> [   94.259452] ioctx_alloc: num_possible_cpus=64
> [   94.259452] ioctx_alloc: after max nr_events=2147483647
> [   94.259453] ioctx_alloc: after max nr_events=2147483647
> [   94.259453] ioctx_alloc: after max nr_events=2147483647
> [   94.259454] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.259455] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.259455] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.259456] ioctx_alloc: initial nr_events=96
> [   94.259456] ioctx_alloc: initial nr_events=96
> [   94.259457] ioctx_alloc: initial nr_events=96
> [   94.259457] ioctx_alloc: num_possible_cpus=64
> [   94.259458] ioctx_alloc: num_possible_cpus=64
> [   94.259458] ioctx_alloc: num_possible_cpus=64
> [   94.259459] ioctx_alloc: after max nr_events=256
> [   94.259459] ioctx_alloc: after max nr_events=256
> [   94.259460] ioctx_alloc: after max nr_events=256
> [   94.259460] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   259461] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.259462] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.260539] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.260544] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.262535] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.262550] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.423889] ioctx_alloc: num_possible_cpus=64
> [   94.425386] ioctx_alloc: after max nr_events=2147483647
> [   94.427327] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.429359] ioctx_alloc: initial nr_events=96
> [   94.429448] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.429451] ioctx_alloc: initial nr_events=2147483647
> [   94.429452] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.429453] ioctx_alloc: num_possible_cpus=64
> [   94.429454] ioctx_alloc: initial nr_events=2147483647
> [   94.429454] ioctx_alloc: after max nr_events=2147483647
> [   94.429455] ioctx_alloc: num_possible_cpus=64
> [   94.429456] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.429456] ioctx_alloc: after max nr_events=2147483647
> [   94.429457] ioctx_alloc: initial nr_events=96
> [   94.429458] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.429458] ioctx_alloc: num_possible_cpus=64
> [   94.429459] ioctx_alloc: initial nr_events=96
> [   94.429459] ioctx_alloc: after max nr_events=256
> [   94.429460] ioctx_alloc: num_possible_cpus=64
> [   94.429461] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.429461] ioctx_alloc: after max nr_events=256
> [   94.429462] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.429463] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.430422] hrtimer: interrupt took 6115 ns
> [   94.431463] ioctx_alloc: initial nr_events=2147483647
> [   94.431464] ioctx_alloc: num_possible_cpus=64
> [   94.431464] ioctx_alloc: after max nr_events=2147483647
> [   94.431465] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.431465] ioctx_alloc: initial nr_events=96
> [   94.431466] ioctx_alloc: num_possible_cpus=64
> [   931466] ioctx_alloc: after max nr_events=256
> [   94.431466] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.432641] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.580307] ioctx_alloc: num_possible_cpus=64
> [   94.581844] ioctx_alloc: after max nr_events=256
> [   94.583405] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.585313] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.585319] ioctx_alloc: initial nr_events=2147483647
> [   94.585320] ioctx_alloc: num_possible_cpus=64
> [   94.585320] ioctx_alloc: after max nr_events=2147483647
> [   94.585321] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.585322] ioctx_alloc: initial nr_events=2147483647
> [   94.585322] ioctx_alloc: initial nr_events=96
> [   94.585323] ioctx_alloc: num_possible_cpus=64
> [   94.585324] ioctx_alloc: num_possible_cpus=64
> [   94.585324] ioctx_alloc: after max nr_events=2147483647
> [   94.585325] ioctx_alloc: after max nr_events=256
> [   94.585325] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.585326] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.585327] ioctx_alloc: initial nr_events=2147483647
> [   94.585328] ioctx_alloc: initial nr_events=96
> [   94.585328] ioctx_alloc: num_possible_cpus=64
> [   94.585329] ioctx_alloc: num_possible_cpus=64
> [   94.585329] ioctx_alloc: after max nr_events=2147483647
> [   94.585330] ioctx_alloc: after max nr_events=256
> [   94.585331] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.585331] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.585332] ioctx_alloc: initial nr_events=96
> [   94.585332] ioctx_alloc: num_possible_cpus=64
> [   94.585333] ioctx_alloc: after max nr_events=256
> [   94.585333] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.585372] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.585402] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.588377] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.632221] ioctx_alloc: initial nr_events=2147483647
> [   94.632228] ioctx_alloc: initial nr_events=2147483647
> [   94.632229] iocalloc: num_possible_cpus=64
> [   94.632229] ioctx_alloc: after max nr_events=2147483647
> [   94.632230] ioctx_alloc: initial nr_events=2147483647
> [   94.632231] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.632232] ioctx_alloc: num_possible_cpus=64
> [   94.632232] ioctx_alloc: initial nr_events=96
> [   94.632233] ioctx_alloc: after max nr_events=2147483647
> [   94.632233] ioctx_alloc: num_possible_cpus=64
> [   94.632234] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.632234] ioctx_alloc: after max nr_events=256
> [   94.632235] ioctx_alloc: initial nr_events=96
> [   94.632236] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.632236] ioctx_alloc: num_possible_cpus=64
> [   94.632237] ioctx_alloc: after max nr_events=256
> [   94.632237] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.632241] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.633350] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.764384] ioctx_alloc: num_possible_cpus=64
> [   94.766038] ioctx_alloc: after max nr_events=2147483647
> [   94.767807] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.769568] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.770328] sd 5:0:0:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.773546] ioctx_alloc: initial nr_events=2147483647
> [   94.773550] ioctx_alloc: initial nr_events=2147483647
> [   94.773551] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.773552] ioctx_alloc: num_possible_cpus=64
> [   94.773552] ioctx_alloc: after max nr_events=2147483647
> [   94.773553] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.773553] ioctx_alloc: initial nr_events=96
> [   94.773554] ioctx_alloc: num_possible_cpus=64
> [   94.773554] ioctx_alloc: after max nr_events=256
> [   94.773555] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.773569] ioctx_alloc: initial nr_events=2147483647
> [   94.773569] ioctx_alloc: num_possible_cpus=64
> [   94.773570] ioctx_alloc: after max nr_events=2147483647
> [   94.773570] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.773571] ioctx_alloc:itial nr_events=96
> [   94.773571] ioctx_alloc: num_possible_cpus=64
> [   94.773572] ioctx_alloc: after max nr_events=256
> [   94.773572] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.903978] ioctx_alloc: num_possible_cpus=64
> [   94.905427] ioctx_alloc: after max nr_events=2147483647
> [   94.907320] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.909300] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.909305] ioctx_alloc: initial nr_events=2147483647
> [   94.909306] ioctx_alloc: num_possible_cpus=64
> [   94.909306] ioctx_alloc: after max nr_events=2147483647
> [   94.909307] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.909307] ioctx_alloc: initial nr_events=96
> [   94.909308] ioctx_alloc: num_possible_cpus=64
> [   94.909308] ioctx_alloc: after max nr_events=256
> [   94.909309] ioctx_alloc: initial nr_events=2147483647
> [   94.909310] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.909310] ioctx_alloc: num_possible_cpus=64
> [   94.909311] ioctx_alloc: after max nr_events=2147483647
> [   94.909311] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.909312] ioctx_alloc: initial nr_events=96
> [   94.909312] ioctx_alloc: num_possible_cpus=64
> [   94.909313] ioctx_alloc: after max nr_events=256
> [   94.909313] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.912223] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.940281] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   94.940283] ioctx_alloc: initial nr_events=2147483647
> [   94.940284] ioctx_alloc: num_possible_cpus=64
> [   94.940285] ioctx_alloc: after max nr_events=2147483647
> [   94.940286] ioctx_alloc: initial nr_events=2147483647
> [   94.940286] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.940287] ioctx_alloc: num_possible_cpus=64
> [   94.940288] ioctx_alloc: initial nr_events=96
> [   94.940288] ioctx_alloc: after max nr_events=2147483647
> [   94.940289] ioctx_alloc: num_possible_cpus=64
> [   94.940290] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   94.940290] ioctx_alloc: after max nr_events=256
> [   94.940291] ioctx_alloc: initial nr_events=96
> [   94.940291] ioctx_alloc: nr_events=512 amax_nr=65536
> [   94.940292] ioctx_alloc: num_possible_cpus=64
> [   94.940292] ioctx_alloc: after max nr_events=256
> [   94.940293] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   94.942198] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.069096] ioctx_alloc: initial nr_events=96
> [   95.069097] ioctx_alloc: num_possible_cpus=64
> [   95.069097] ioctx_alloc: after max nr_events=256
> [   95.069098] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.087101] ioctx_alloc: initial nr_events=2147483647
> [   95.087108] ioctx_alloc: initial nr_events=2147483647
> [   95.087108] ioctx_alloc: num_possible_cpus=64
> [   95.087109] ioctx_alloc: after max nr_events=2147483647
> [   95.087109] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.087110] ioctx_alloc: initial nr_events=96
> [   95.087110] ioctx_alloc: num_possible_cpus=64
> [   95.087111] ioctx_alloc: after max nr_events=256
> [   95.087112] ioctx_alloc: initial nr_events=2147483647
> [   95.087113] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.087113] ioctx_alloc: num_possible_cpus=64
> [   95.087114] ioctx_alloc: after max nr_events=2147483647
> [   95.087114] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.087115] ioctx_alloc: initial nr_events=96
> [   95.087115] ioctx_alloc: num_possible_cpus=64
> [   95.087116] ioctx_alloc: after max nr_events=256
> [   95.087117] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.087117] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.087120] ioctx_alloc: initial nr_events=2147483647
> [   95.087120] ioctx_alloc: num_possible_cpus=64
> [   95.087121] ioctx_alloc: after max nr_events=2147483647
> [   95.087121] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.087122] ioctx_alloc: initial nr_events=96
> [   95.087122] ioctx_alloc: num_possible_cpus=64
> [   95.087123] ioctx_alloc: after max nr_events=256
> [   95.087123] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.087126] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.091100] ioctx_alloc: initial nr_events=2147483647
> [   95.091100] ioctx_alloc: num_possible_cpus=64
> [   95.091100] ioctx_alloc: after max nr_events=2147483647
> [   95.091101] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.091101] ioctx_alloc: initial nr_events=96
> [   95.091102] ioctx_alloc: num_possible_cpus=64
> [   95.091102] ioctx_alloc: after max nr_events=256
> [   95.091103] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.145236] ioctx_alloc: num_possible_cpus=64
> [   95.146754] ioctx_alloc: after max nr_events=2483647
> [   95.248567] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.250432] ioctx_alloc: initial nr_events=2147483647
> [   95.250438] ioctx_alloc: initial nr_events=2147483647
> [   95.250439] ioctx_alloc: num_possible_cpus=64
> [   95.250439] ioctx_alloc: after max nr_events=2147483647
> [   95.250440] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.250440] ioctx_alloc: initial nr_events=96
> [   95.250441] ioctx_alloc: num_possible_cpus=64
> [   95.250441] ioctx_alloc: after max nr_events=256
> [   95.250442] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.250450] sd 5:0:5:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.250457] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.251027] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.251038] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.252029] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.275430] ioctx_alloc: num_possible_cpus=64
> [   95.277000] ioctx_alloc: after max nr_events=2147483647
> [   95.278747] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.280540] ioctx_alloc: initial nr_events=2147483647
> [   95.280554] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.284457] ioctx_alloc: num_possible_cpus=64
> [   95.285998] ioctx_alloc: after max nr_events=2147483647
> [   95.287764] ioctx_alloc: nr_events=-2 aio_max_nr=65536
> [   95.289455] ioctx_alloc: initial nr_events=96
> [   95.290901] ioctx_alloc: num_possible_cpus=64
> [   95.292450] ioctx_alloc: after max nr_events=256
> [   95.294013] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.295873] sd 5:0:3:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.381941] ioctx_alloc: initial nr_events=96
> [   95.383764] ioctx_alloc: num_possible_cpus=64
> [   95.385303] ioctx_alloc: after max nr_events=256
> [   95.386959] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.391935] ioctx_alloc: initial nr_events=96
> [   95.393493] ioctx_alloc: num_possible_cpus=64
> [   95.394994] ioctx_alloc: after max nr_events=256
> [   95.396751] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.421964] sd 5:0:2:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.425953] sd 5:0:4:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> [   95.611825] ioctx_alloc: initial nr_events=96
> [   95.613398] ioctx_alloc: num_possible_cpus=64
> [   95.614893] ioctx_alloc: after max nr_events=256
> [   95.616615] ioctx_alloc: nr_events=512 aio_max_nr=65536
> [   95.645844] sd 5:0:1:0: scsi_debug_ioctl: BLKFLSBUF [0x1261]
> 

-- 
"Thought is the essence of where you are now."

  reply	other threads:[~2014-07-10 14:45 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 16:51 scsi-mq V2 Christoph Hellwig
2014-06-25 16:51 ` [PATCH 01/14] sd: don't use rq->cmd_len before setting it up Christoph Hellwig
2014-07-09 11:12   ` Hannes Reinecke
2014-07-09 11:12     ` Hannes Reinecke
2014-07-09 15:03     ` Christoph Hellwig
2014-06-25 16:51 ` [PATCH 02/14] scsi: split __scsi_queue_insert Christoph Hellwig
2014-07-09 11:12   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 03/14] scsi: centralize command re-queueing in scsi_dispatch_fn Christoph Hellwig
2014-07-08 20:51   ` Elliott, Robert (Server Storage)
2014-07-09  6:40     ` Christoph Hellwig
2014-07-09 11:13   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 04/14] scsi: set ->scsi_done before calling scsi_dispatch_cmd Christoph Hellwig
2014-07-09 11:14   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 05/14] scsi: push host_lock down into scsi_{host,target}_queue_ready Christoph Hellwig
2014-07-09 11:14   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 06/14] scsi: convert target_busy to an atomic_t Christoph Hellwig
2014-07-09 11:15   ` Hannes Reinecke
2014-07-09 11:15     ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 07/14] scsi: convert host_busy to atomic_t Christoph Hellwig
2014-07-09 11:15   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 08/14] scsi: convert device_busy " Christoph Hellwig
2014-07-09 11:16   ` Hannes Reinecke
2014-07-09 16:49   ` James Bottomley
2014-07-10  6:01     ` Christoph Hellwig
2014-06-25 16:51 ` [PATCH 09/14] scsi: fix the {host,target,device}_blocked counter mess Christoph Hellwig
2014-07-09 11:12   ` Hannes Reinecke
2014-07-10  6:06     ` Christoph Hellwig
2014-06-25 16:51 ` [PATCH 10/14] scsi: only maintain target_blocked if the driver has a target queue limit Christoph Hellwig
2014-07-09 11:19   ` Hannes Reinecke
2014-07-09 15:05     ` Christoph Hellwig
2014-06-25 16:51 ` [PATCH 11/14] scsi: unwind blk_end_request_all and blk_end_request_err calls Christoph Hellwig
2014-07-09 11:20   ` Hannes Reinecke
2014-06-25 16:51 ` [PATCH 12/14] scatterlist: allow chaining to preallocated chunks Christoph Hellwig
2014-07-09 11:21   ` Hannes Reinecke
2014-06-25 16:52 ` [PATCH 13/14] scsi: add support for a blk-mq based I/O path Christoph Hellwig
2014-07-09 11:25   ` Hannes Reinecke
2014-07-16 11:13   ` Mike Christie
2014-07-16 11:16     ` Christoph Hellwig
2014-06-25 16:52 ` [PATCH 14/14] fnic: reject device resets without assigned tags for the blk-mq case Christoph Hellwig
2014-07-09 11:27   ` Hannes Reinecke
2014-06-26  4:50 ` scsi-mq V2 Jens Axboe
2014-06-26 22:07   ` Elliott, Robert (Server Storage)
2014-06-27 14:42     ` Bart Van Assche
2014-06-30 15:20   ` Jens Axboe
2014-06-30 15:25     ` Christoph Hellwig
2014-06-30 15:54       ` Martin K. Petersen
2014-07-08 14:48 ` Christoph Hellwig
2014-07-09 16:39   ` Douglas Gilbert
2014-07-09 19:38     ` Jens Axboe
2014-07-10  0:53       ` Elliott, Robert (Server Storage)
2014-07-10  6:20         ` Christoph Hellwig
2014-07-10 13:36           ` Benjamin LaHaise
2014-07-10 13:39             ` Jens Axboe
2014-07-10 13:44               ` Benjamin LaHaise
2014-07-10 13:48                 ` Jens Axboe
2014-07-10 13:50                   ` Benjamin LaHaise
2014-07-10 13:52                     ` Jens Axboe
2014-07-10 13:50             ` Christoph Hellwig
2014-07-10 13:52               ` Jens Axboe
2014-07-10 14:36                 ` Elliott, Robert (Server Storage)
2014-07-10 14:45                   ` Benjamin LaHaise [this message]
2014-07-10 15:11                     ` Jeff Moyer
2014-07-10 15:11                       ` Jeff Moyer
2014-07-10 19:59                       ` Jens Axboe
2014-07-10 19:59                         ` Jens Axboe
2014-07-10 20:05                         ` Jeff Moyer
2014-07-10 20:05                           ` Jeff Moyer
2014-07-10 20:06                           ` Jens Axboe
2014-07-10 20:06                             ` Jens Axboe
2014-07-10 15:51           ` Elliott, Robert (Server Storage)
2014-07-10 16:04             ` Christoph Hellwig
2014-07-10 16:14               ` Christoph Hellwig
2014-07-10 18:49                 ` Elliott, Robert (Server Storage)
2014-07-10 19:14                   ` Jeff Moyer
2014-07-10 19:14                     ` Jeff Moyer
2014-07-10 19:36                     ` Jeff Moyer
2014-07-10 19:36                       ` Jeff Moyer
2014-07-10 21:10                     ` Elliott, Robert (Server Storage)
2014-07-11  6:02                       ` Elliott, Robert (Server Storage)
2014-07-11  6:14                         ` Christoph Hellwig
2014-07-11 14:33                           ` Elliott, Robert (Server Storage)
2014-07-11 14:55                             ` Benjamin LaHaise
2014-07-12 21:50                               ` Elliott, Robert (Server Storage)
2014-07-12 23:20                                 ` Elliott, Robert (Server Storage)
2014-07-13 17:15                                   ` Elliott, Robert (Server Storage)
2014-07-14 17:15                                     ` Benjamin LaHaise
2014-07-14  9:13   ` Sagi Grimberg
2014-08-21 12:32     ` Performance degradation in IO writes vs. reads (was scsi-mq V2) Sagi Grimberg
2014-08-21 12:32       ` Sagi Grimberg
2014-08-21 13:03       ` Christoph Hellwig
2014-08-21 14:02         ` Sagi Grimberg
2014-08-24 16:41           ` Sagi Grimberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140710144539.GU12478@kvack.org \
    --to=bcrl@kvack.org \
    --cc=Elliott@hp.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=axboe@kernel.dk \
    --cc=bvanassche@fusionio.com \
    --cc=dgilbert@interlog.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.