SamFS performance problem on file creation
Posted
by Gregor Longariva
on Server Fault
See other posts from Server Fault
or by Gregor Longariva
Published on 2010-06-08T10:42:04Z
Indexed on
2010/06/08
10:53 UTC
Read the original article
Hit count: 265
I have two samfs filesystems (samfs1 and samfs2), both on the same 6130, both with the same config/watermarks/timeouts etc. creating a file on samfs2 works as it should, on samfs1 not. A little simple script shows up, that every while and then the file creation needs between 11 and 28 seconds:
stan 12:32 [scratch]# while ( 1 ) while? echo - while? time echo test > file while? time mv file file2 while? echo + while? sleep 1
while? end
0.00u 0.00s 0:00.01 0.0% 0.00u 0.00s 0:00.00 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.03 0.0%
+
0.00u 0.00s 0:23.71 0.0% 0.00u 0.00s 0:00.14 0.0%
+
0.00u 0.00s 0:00.18 0.0% 0.00u 0.00s 0:00.13 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.05 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.06 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.05 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.05 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.05 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.04 0.0%
+
0.00u 0.00s 0:00.04 0.0% 0.00u 0.00s 0:00.05 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.01 0.0%
+
0.00u 0.00s 0:26.05 0.0% 0.00u 0.00s 0:00.50 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.06 0.0%
+
0.00u 0.00s 0:00.00 0.0% 0.00u 0.00s 0:00.12 0.0% +
Any idea where the problem could be?
© Server Fault or respective owner