kbessmertniy
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Дядьки, а ковырял ли кто-нибудь производительность vsan серьезно? У меня почему-то получается что vsan с более быстрым chache tier ssd и двумя capacity hdd зачастую оказывается быстрее более медленного чистого ssd. На тестовом хосте с сделал один datastore из одного четырехтерового ssd samsung 860 qvo, второй vsan datastore из полутеровгого samsung 750 evo и двух hdd и третий datastore из одного hdd. Сделал вм с системой и четыремя дисками по 100 гигов - на чистом ssd, два на vsan с одним и двумя stripe и на чистом hdd. Провел ряд синтетических тестов, но потом понял что с ssd это муторное дело - нужно чтобы ram и slc кэши были к началу каждого теста пустые и во время теста перекрывались в несколько раз, а с vsan'ом еще и дожидаться окончания destage'а. А чтобы добраться до пороговой задержки этих тестов нужно довольно много. В общем подзабросил я это дело и просто одновременно запустил установку виндовс сервера на ssd и vsan. В итоге на vsan втало на пол минуты быстрее, понятно что на большом объеме vsan конкретно отстанет. По каким алгоритмам происходит tearing в vsan? Если кому интересно вот результаты моих неправильных экспериментов. Код: [root@localhost ~]# for dsk in sdb sdc sdd sde; do echo $dsk; dd if=/dev/zero of=/dev/$dsk bs=1M count=1000 oflag=direct; done sdb 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 6.84453 s, 153 MB/s sdc 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 5.03941 s, 208 MB/s sdd 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 34.8945 s, 30.0 MB/s sde 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 38.3273 s, 27.4 MB/s [root@localhost ~]# [root@localhost ~]# for dsk in sdb sdc sdd sde; do echo $dsk; dd of=/dev/null if=/dev/$dsk bs=1M count=1000 iflag=direct; done sdb 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 2.46322 s, 426 MB/s sdc 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 5.08548 s, 206 MB/s sdd 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 24.1373 s, 43.4 MB/s sde 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 19.6026 s, 53.5 MB/s [root@localhost ~]# [root@localhost ~]# for dsk in sdb sdc sdd sde; do echo $dsk; fio -name=test1_1G --size=1G --bs=1M --filename=/dev/$dsk --rw=write --direct=1 --end_fsync=1; done sdb test1_1G: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=psync, iodepth=1 fio-3.7 Starting 1 process Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=143MiB/s][r=0,w=143 IOPS][eta 00m:00s] test1_1G: (groupid=0, jobs=1): err= 0: pid=2304: Fri Feb 21 19:02:05 2020 write: IOPS=145, BW=146MiB/s (153MB/s)(1024MiB/7016msec) clat (msec): min=2, max=123, avg= 6.80, stdev= 9.91 lat (msec): min=2, max=123, avg= 6.84, stdev= 9.91 clat percentiles (msec): | 1.00th=[ 3], 5.00th=[ 3], 10.00th=[ 3], 20.00th=[ 3], | 30.00th=[ 3], 40.00th=[ 3], 50.00th=[ 4], 60.00th=[ 4], | 70.00th=[ 5], 80.00th=[ 7], 90.00th=[ 21], 95.00th=[ 24], | 99.00th=[ 34], 99.50th=[ 40], 99.90th=[ 123], 99.95th=[ 124], | 99.99th=[ 124] bw ( KiB/s): min=118784, max=188416, per=99.74%, avg=149065.14, stdev=18215.05, samples=14 iops : min= 116, max= 184, avg=145.57, stdev=17.79, samples=14 lat (msec) : 4=60.45%, 10=25.29%, 20=4.20%, 50=9.57%, 100=0.20% lat (msec) : 250=0.29% cpu : usr=0.78%, sys=0.98%, ctx=1024, majf=0, minf=9 IO depths : 1=100.1%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued rwts: total=0,1024,0,1 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): WRITE: bw=146MiB/s (153MB/s), 146MiB/s-146MiB/s (153MB/s-153MB/s), io=1024MiB (1074MB), run=7016-7016msec Disk stats (read/write): sdb: ios=51/1024, merge=0/0, ticks=16/6881, in_queue=6345, util=16.74% sdc test1_1G: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=psync, iodepth=1 fio-3.7 Starting 1 process Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=183MiB/s][r=0,w=183 IOPS][eta 00m:00s] test1_1G: (groupid=0, jobs=1): err= 0: pid=2318: Fri Feb 21 19:02:11 2020 write: IOPS=194, BW=194MiB/s (204MB/s)(1024MiB/5275msec) clat (usec): min=4215, max=52936, avg=5110.68, stdev=2146.81 lat (usec): min=4243, max=52971, avg=5140.80, stdev=2146.95 clat percentiles (usec): | 1.00th=[ 4293], 5.00th=[ 4293], 10.00th=[ 4359], 20.00th=[ 4555], | 30.00th=[ 4621], 40.00th=[ 4752], 50.00th=[ 4948], 60.00th=[ 5080], | 70.00th=[ 5211], 80.00th=[ 5342], 90.00th=[ 5669], 95.00th=[ 5932], | 99.00th=[ 6718], 99.50th=[13042], 99.90th=[40109], 99.95th=[52691], | 99.99th=[52691] bw ( KiB/s): min=161792, max=212992, per=100.00%, avg=200294.40, stdev=15012.46, samples=10 iops : min= 158, max= 208, avg=195.60, stdev=14.66, samples=10 lat (msec) : 10=99.32%, 20=0.39%, 50=0.20%, 100=0.10% cpu : usr=0.95%, sys=0.99%, ctx=1024, majf=0, minf=10 IO depths : 1=100.1%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued rwts: total=0,1024,0,1 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): WRITE: bw=194MiB/s (204MB/s), 194MiB/s-194MiB/s (204MB/s-204MB/s), io=1024MiB (1074MB), run=5275-5275msec Disk stats (read/write): sdc: ios=50/1024, merge=0/0, ticks=47/5163, in_queue=4698, util=22.17% sdd test1_1G: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=psync, iodepth=1 fio-3.7 Starting 1 process Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=32.0MiB/s][r=0,w=32 IOPS][eta 00m:00s] test1_1G: (groupid=0, jobs=1): err= 0: pid=2327: Fri Feb 21 19:02:47 2020 write: IOPS=29, BW=29.8MiB/s (31.2MB/s)(1024MiB/34417msec) clat (msec): min=2, max=534, avg=33.52, stdev=40.54 lat (msec): min=2, max=534, avg=33.60, stdev=40.54 clat percentiles (msec): | 1.00th=[ 3], 5.00th=[ 4], 10.00th=[ 4], 20.00th=[ 5], | 30.00th=[ 14], 40.00th=[ 22], 50.00th=[ 29], 60.00th=[ 34], | 70.00th=[ 40], 80.00th=[ 49], 90.00th=[ 63], 95.00th=[ 79], | 99.00th=[ 245], 99.50th=[ 279], 99.90th=[ 460], 99.95th=[ 535], | 99.99th=[ 535] bw ( KiB/s): min=12263, max=51200, per=100.00%, avg=30595.26, stdev=9396.63, samples=68 iops : min= 11, max= 50, avg=29.79, stdev= 9.24, samples=68 lat (msec) : 4=19.04%, 10=7.62%, 20=10.45%, 50=43.95%, 100=16.89% lat (msec) : 250=1.07%, 500=0.88%, 750=0.10% cpu : usr=0.29%, sys=0.20%, ctx=1024, majf=0, minf=10 IO depths : 1=100.1%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued rwts: total=0,1024,0,1 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): WRITE: bw=29.8MiB/s (31.2MB/s), 29.8MiB/s-29.8MiB/s (31.2MB/s-31.2MB/s), io=1024MiB (1074MB), run=34417-34417msec Disk stats (read/write): sdd: ios=52/1024, merge=0/0, ticks=4/34242, in_queue=33732, util=3.68% sde test1_1G: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=psync, iodepth=1 fio-3.7 Starting 1 process Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=11.0MiB/s][r=0,w=11 IOPS][eta 00m:00s] test1_1G: (groupid=0, jobs=1): err= 0: pid=2339: Fri Feb 21 19:03:33 2020 write: IOPS=22, BW=22.3MiB/s (23.4MB/s)(1024MiB/45980msec) clat (msec): min=2, max=574, avg=44.81, stdev=44.13 lat (msec): min=2, max=574, avg=44.89, stdev=44.13 clat percentiles (msec): | 1.00th=[ 3], 5.00th=[ 4], 10.00th=[ 4], 20.00th=[ 15], | 30.00th=[ 24], 40.00th=[ 33], 50.00th=[ 41], 60.00th=[ 48], | 70.00th=[ 55], 80.00th=[ 65], 90.00th=[ 82], 95.00th=[ 104], | 99.00th=[ 169], 99.50th=[ 275], 99.90th=[ 575], 99.95th=[ 575], | 99.99th=[ 575] bw ( KiB/s): min= 2048, max=45056, per=100.00%, avg=22910.00, stdev=8487.41, samples=91 iops : min= 2, max= 44, avg=22.36, stdev= 8.28, samples=91 lat (msec) : 4=13.28%, 10=3.71%, 20=8.89%, 50=37.79%, 100=30.47% lat (msec) : 250=5.18%, 500=0.49%, 750=0.20% cpu : usr=0.21%, sys=0.14%, ctx=1025, majf=0, minf=11 IO depths : 1=100.1%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% issued rwts: total=0,1024,0,1 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): WRITE: bw=22.3MiB/s (23.4MB/s), 22.3MiB/s-22.3MiB/s (23.4MB/s-23.4MB/s), io=1024MiB (1074MB), run=45980-45980msec Disk stats (read/write): sde: ios=50/1024, merge=0/0, ticks=6/45818, in_queue=45307, util=2.75% |
|