Note: this is on a M8G2FA Samsung flash chip.

On Fri, Dec 20, 2013 at 12:29 PM, John Grub <john.f.g...@gmail.com> wrote:

> Hello,
>
> I can't seem to write larger files on my f2fs mount.
> My hardware is an embedded arm platform with an 8GB eMMC nand flash chip: 
> Golbalscale
> D2Plug <http://www.globalscaletechnologies.com/t-d2plugdetails.aspx>
> I have two of these pieces of hardware and I see this issue on both of
> them. There is no issue when I use ext4.
> I am running kernel version 3.13.0-rc4
> I've compiled  f2fs-tools from here
> http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git @
> 11d187cdfa2dcf504aa25b5a1aab4228f19f22ff
>
> I've followed the installation and usage instructions in
> linux/Documentation/filesystems/f2fs.txt to format my 8GB eMMC nand flash
> as f2fs.
>
> I'm getting freezes when writing larger files to my f2fs partition. Here
> is an experiment I've done to show this.
> First create 3 test files of different sizes:
> # cat /dev/urandom | head -c 50k > /tmp/50k
> # cat /dev/urandom | head -c 100k > /tmp/100k
> # cat /dev/urandom | head -c 150k > /tmp/150k
>
> Test case #1: Repeatedly copy the same 50k file to j2fs:
> # cp /tmp/50k /mnt/j2fs/ <-- this copy always works fine
> # cp /tmp/50k /mnt/j2fs/ <-- this copy always works fine
> # cp /tmp/50k /mnt/j2fs/ <-- this copy always hangs forever
> For the failing copy, I've seen 4k, 8k and 12k copied correctly before it
> stops.
>
> Test case #2: Repeatedly copy the same 100k file to f2fs:
> # cp /tmp/100k /mnt/f2fs/ <-- this copy works fine
> # cp /tmp/100k /mnt/f2fs/ <-- this copy hangs forever
> For the failing copy, I've seen 4k, 8k and 12k copied correctly before it
> stops.
>
> Test case #3: Copy a 150k file to f2fs:
> # cp /tmp/150k /mnt/f2fs/
> This never completes and will hang forever if I don't kill it. It always
> seems to fail at 120k.
>
> Any help would be appreciated.
>
> Thanks,
> John Grub
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to