Re: Embedded Linux Distribution?

From: Alexander Popov (s_popov_at_prosyst.bg)
Date: 07/30/03

  • Next message: Mirek: "bcl patch ?"
    Date: Wed, 30 Jul 2003 12:58:33 +0300
    
    

    On Tue, 29 Jul 2003 22:52:27 -0400 "Cory M Hicks" <cmhicks@acm.org> wrote:

    > Alexander,
    >
    > > Depends on how much time and money you got for this project.
    > > If you have time I suggest that you bild your own distro.
    > > What is the CPU?
    > The CPU is X86 based.
    > >
    > > >
    > > > Would you suggest JFFS2 for the file system in order to make the device
    > > > "Power Fail Safe" or is there another file system I should look at?
    > >
    > > JFFS2 is a great fs although it has some drawbacks. But for flash it's the
    > perfect sollution.
    > > Usually on all embedded systems based on linux it's used in combination
    > with cramfs (for the
    > > "read-only" part of the image ) and tmpfs for log, chaching and apps that
    > need fast file ops.
    >
    > I will take a look into crampfs and tmpfs this evening. Thanks for the tip.
    >
    > > My experience shows that if you keep 10-15% of the jffs2 partition empty
    > there won't be any
    > > problems.
    > What issues does keeping this amount of space prevent? Does it prevent the
    > slow data access issue or is there something else?

    One of the nasty problems that I had with low space on JFFS2 partitions is the transaction hangs.
    When you have very little space and delete a file the fs doesn't report the space available
    immediately ( you need to wait for a few minutes ).
    Another problem is that it slows down greatly when there less than 10% available.
    Also I noticed that smaller partitions are usually fasted ( don't know the reason )

    Regards,
    Alexander

    >
    > Cory
    >
    >

    -- 
    Alexander Popov                  ProSyst Bulgaria Inc.
    Team Leader                      48 Vladajska Str.
    Dept: Real Time OS and Java VM   Sofia 1606, Bulgaria
    Phone:  +359 2 952 35 81/203     http://www.prosyst.com
    Mobile: +359 87 663 193          OSGi Technology Leaders                                    
    

  • Next message: Mirek: "bcl patch ?"