Bug #53758
closedfsync so slow
0%
Description
Docker Image: quay.io/cephcsi/cephcsi:v3.2.2
ceph version 15.2.11 (e3523634d9c2227df9af89a4eac33d16738c49cb) octopus (stable)
fsync takes seconds on rbd.
Is there any way to determine the cause?
...
root@localhost# time dd if=/dev/urandom of=temp01.bin bs=512 count=1000 status=progress conv=fsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 3.7859 s, 135 kB/s
root@localhost# time dd if=/dev/urandom of=temp01.bin bs=512 count=10000 status=progress conv=fsync
10000+0 records in
10000+0 records out
5120000 bytes (5.1 MB, 4.9 MiB) copied, 6.10873 s, 838 kB/s
root@localhost# fio -ioengine=libaio -name=test -filename=aaaaa.bin -fsync=1 -direct=1 -bs=4k -iodepth=32 -rw=write -size=1M
test: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=32
fio-3.16
Starting 1 process
Jobs: 1 (f=1): [W(1)][10.9%][w=4KiB/s][w=1 IOPS][eta 00m:57s]