Re: [Yaffs] Percent usage affects write performance

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Percent usage affects write performance
On Friday 06 April 2007 04:53, Николай М. Виноградов wrote:
> Hello,
>
> I'm run into problem with yaffs2 usage.
> When yaffs2 was only created(0% usage), I have write performance about
> ~1Mb/sec.
> When usage increased to 40-50%, I have only 450-500Kb/sec.
> When usage increased to 95-99%, it's only 50-90Kb/sec. :-()
>
> My test is very simple, just copy 1Mb file from mem to yaffs2:
> time cp /test.txt /usr/local
>
> /usr/local is yaffs2, / - is initramfs.
>
> Is there any reason for that? Maybe it's some GC related things and it's
> normal behaviour?


Yes it is GC causing this.

Depending on how stuff is written to the fs, the GC sometimes has to work much
harder to get erased space to write.

It seems the GC could do with some exploration to look for some improvements.

-- Charles