[PATCH] Add locking to twe(4) so it no longer uses Giant
Mike Tancsa
mike at sentex.net
Mon Aug 13 21:34:13 UTC 2012
On 8/3/2012 5:18 PM, John Baldwin wrote:
>>
>> Seems to apply to RELENG_9 just fine. Are there any stress tests you
>> suggest I run that might expose some bugs ? The machine is not
>> production yet, so its ok to crash it.
>
> Probably pho's stress2 stuff. Thinks like dbench might be a good start as
> well for initial testing.
dbench runs just fine with 20 clients. I am letting stress2's disk
stress test now. The tw_cli seems to run the same when the controller
is super busy with pho's stress
I havent looked at performance differences, but a quick eyeball shows
about the same.
0{offsite2}# tw_cli "/c0 show"
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache
AVrfy
------------------------------------------------------------------------------
u0 RAID-0 OK - - 64K 931.521 ON
-
Port Status Unit Size Blocks Serial
---------------------------------------------------------------
p0 OK u0 465.76 GB 976773168 WD-WCAYUEY18298
p1 OK u0 465.76 GB 976773168 WD-WMAYUL256317
0{offsite2}#
Operation Count AvgLat MaxLat
----------------------------------------
NTCreateX 1523290 1.527 2151.921
Close 1119090 0.681 2001.144
Rename 64489 3.669 748.957
Unlink 307507 3.305 2075.871
Deltree 40 35.922 194.337
Mkdir 20 0.014 0.113
Qpathinfo 1380911 0.292 637.855
Qfileinfo 242016 0.001 0.201
Qfsinfo 253036 0.006 2.063
Sfileinfo 124125 3.539 1479.315
Find 533771 0.417 1501.775
WriteX 759745 0.195 403.113
ReadX 2386679 0.033 322.923
LockX 4952 0.004 0.018
UnlockX 4952 0.003 0.240
Flush 106775 59.541 2081.524
Throughput 79.6165 MB/sec 20 clients 20 procs max_latency=2151.929 ms
Mon Aug 13 16:38:18 EDT 2012
run: run time 3+00:00:00, incarnations 1, load 100, verbose 1
16:38:18 Loop #1
rw: run time 0+00:02:00, incarnations 17, load 100, verbose 1
creat: run time 0+00:02:00, incarnations 64, load 80, verbose 1
mkdir: run time 0+00:02:00, incarnations 52, load 80, verbose 1
16:40:56 Loop #2
rw: run time 0+00:02:00, incarnations 98, load 100, verbose 1
creat: run time 0+00:02:00, incarnations 28, load 80, verbose 1
mkdir: run time 0+00:02:00, incarnations 34, load 80, verbose 1
16:48:39 Loop #3
rw: run time 0+00:02:00, incarnations 63, load 100, verbose 1
creat: run time 0+00:02:00, incarnations 80, load 80, verbose 1
mkdir: run time 0+00:02:00, incarnations 19, load 80, verbose 1
16:53:59 Loop #4
rw: run time 0+00:02:00, incarnations 11, load 100, verbose 1
creat: run time 0+00:02:00, incarnations 46, load 80, verbose 1
mkdir: run time 0+00:02:00, incarnations 21, load 80, verbose 1
>
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
More information about the freebsd-current
mailing list