[Bugs] [Bug 1635979] Writes taking very long time leading to system hogging
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 4 07:25:12 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1635979
--- Comment #1 from Pranith Kumar K <pkarampu at redhat.com> ---
I/O load generating script:
==================================
#!/usr/bin/perl
$offset=0;
#$len=2;
#while($offset<1000)
#open( $h, '>>', "$ARGV[0]" ) or die $!;
open( $h, '>', "$ARGV[0]" ) or die $!;
while(1)
{
#open( $h, '>>', "$ARGV[0]" ) or die $!; #opening file for write in append
mode, filename is fed at cli argument
seek( $h, $offset, 1 );
#print $h "offset:$offset \n ";
print $h "offset:$offset ";
#$offset=$offset + 20;
$offset=$offset + 1;
}
==================================
1.create a 1x3 volume mount it on fuse client
2.run the perl script above on an input file where IOs must happen(infinite
loop where writes)
eg: script.pl <some_filename>
3. now reboot brick
Machine becomes slow and operations will be very very slow.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list