Date: Thu, 15 Apr 1999 14:40:10 -0700 (PWT) From: Matthew Jacob <mjacob@feral.com> To: "Kenneth D. Merry" <ken@plutotech.com> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: I/O distributed across multiple SCSi busses, same hba... Message-ID: <Pine.LNX.4.04.9904151435160.4563-100000@feral-gw> In-Reply-To: <199904152132.PAA04943@panzer.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 0 12 8.00 1259 9.83 8.00 1239 9.68 3 0 69 16 12 > > 0 12 8.00 1251 9.77 8.00 1239 9.68 4 0 66 18 13 > > 0 12 8.00 252 9.78 8.00 1239 9.68 2 0 67 19 13 > > 0 12 8.00 1252 9.78 8.00 1219 9.52 3 0 65 19 13 > > tty da0 da1 cpu > > tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id > > 0 36 8.00 1252 9.78 8.00 1214 9.48 3 0 65 17 14 > Well, bless me, it never occurred to me... > > This looks like some sort of printf-type bug. I think, in some of the > cases, you're only getting a few of the digits. Notice that the megabytes > per second is consistent all the way down. The transaction size is as > well. > > But the transactions per second field varies widely. I think it may be > that some of the digits aren't getting shown. Like it'll only show the > last 1, 2, or 3 digits sometimes. > > Obviously, (MB/sec * 1024) / KB/t == (or should equal) transfers per second. > > Here's the relevant code from iostat(8). It's worked fine up until now. I > take it this is a -current box with egcs? Alpha or i386? > > else { > total_mb = total_bytes; > total_mb /= 1024 * 1024; > > printf(" %5.2Lf %3.1qu %5.2Lf ", > kb_per_transfer, > total_transfers, > total_mb); > } i386, 3.1-stable, with isp from -current. I wouldn't *think* that there's a difference... hold on a second.... D'oh! I'm a surprised idiot. The iostat lines before were being printed on a serial console. I never realized how many characters it could drop...Here's from a pty: isp# iostat da0 da1 5 tty da0 da1 cpu tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 14 0.00 0 0.00 0.00 0 0.00 1 0 9 3 88 3 20 0.00 0 0.00 0.00 0 0.00 0 0 0 0 99 1 20 0.00 0 0.00 0.00 0 0.00 0 0 0 0100 4 29 0.00 0 0.00 0.00 0 0.00 0 0 0 0100 3 15 0.00 0 0.00 0.00 0 0.00 0 0 0 1 99 2 14 0.00 0 0.00 0.00 0 0.00 0 0 0 0 99 1 13 7.99 851 6.64 0.00 0 0.00 1 0 15 6 78 5 17 8.00 1309 10.23 0.00 0 0.00 1 0 22 6 70 0 12 8.00 1309 10.23 0.00 0 0.00 1 0 22 7 69 0 13 8.00 1284 10.03 8.00 989 7.72 1 0 61 16 21 0 12 8.00 1280 10.00 8.00 1281 10.01 2 0 75 17 6 0 12 8.00 1278 9.98 8.00 1276 9.97 2 0 76 16 6 0 12 8.00 1279 9.99 8.00 1278 9.99 2 0 74 18 6 0 12 8.00 1276 9.97 8.00 1278 9.99 2 0 76 17 5 0 12 8.00 1278 9.98 8.00 1280 10.00 2 0 72 20 7 0 12 8.00 1277 9.97 8.00 1276 9.97 4 0 72 16 8 0 12 8.00 1277 9.97 8.00 1277 9.98 2 0 78 14 6 0 12 8.00 1275 9.96 8.00 1276 9.97 3 0 74 16 7 (never mind! Sorry for disturbing your naps, folks...) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.04.9904151435160.4563-100000>