* query on UBIFS
@ 2009-02-24 17:10 Chakradhar thota
2009-02-25 9:11 ` Ricard Wanderlof
2009-02-25 9:30 ` Artem Bityutskiy
0 siblings, 2 replies; 3+ messages in thread
From: Chakradhar thota @ 2009-02-24 17:10 UTC (permalink / raw)
To: linux-mtd
Hi ,
I am in the process of using UBIfs on my embedded device.
but i came across that JFFS2 cannot be used as swap partition.
what about UBIfs? will UBIfs support swap paritition?
what are the various issues to be taken care if it supports?
thanks in advance.
regards,
Chakri
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: query on UBIFS
2009-02-24 17:10 query on UBIFS Chakradhar thota
@ 2009-02-25 9:11 ` Ricard Wanderlof
2009-02-25 9:30 ` Artem Bityutskiy
1 sibling, 0 replies; 3+ messages in thread
From: Ricard Wanderlof @ 2009-02-25 9:11 UTC (permalink / raw)
To: Chakradhar thota; +Cc: linux-mtd@lists.infradead.org
On Tue, 24 Feb 2009, Chakradhar thota wrote:
> I am in the process of using UBIfs on my embedded device.
> but i came across that JFFS2 cannot be used as swap partition.
> what about UBIfs? will UBIfs support swap paritition?
> what are the various issues to be taken care if it supports?
> thanks in advance.
Just seems unlikely that you'd want a swap partition on an embedded
device, unless you want to hibernate your application for faster booting?
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: query on UBIFS
2009-02-24 17:10 query on UBIFS Chakradhar thota
2009-02-25 9:11 ` Ricard Wanderlof
@ 2009-02-25 9:30 ` Artem Bityutskiy
1 sibling, 0 replies; 3+ messages in thread
From: Artem Bityutskiy @ 2009-02-25 9:30 UTC (permalink / raw)
To: Chakradhar thota; +Cc: linux-mtd
On Tue, 2009-02-24 at 22:40 +0530, Chakradhar thota wrote:
> Hi ,
>
> I am in the process of using UBIfs on my embedded device.
> but i came across that JFFS2 cannot be used as swap partition.
> what about UBIfs? will UBIfs support swap paritition?
> what are the various issues to be taken care if it supports?
> thanks in advance.
Hi, we never kept this use-case in mind.
I do not think it is a brilliant idea to use UBIFS for swap.
First of all - why not UBI? It would be smarter to create a
simple FTL on top of UBI and put swap there.
But you would anyway have to take a look into UBI/mtd and make
sure they do not allocate RAM on their paths. Or if they do,
they should have some RAM reserve to use if the I/O is swapping.
Indeed, if we are swapping because of memory-shortage condition,
we should not allocate RAM.
Off the top of my head, UBI does allocate RAM when doing I/O.
But this can be fixed.
To put it simpler, if you want swapping on NAND, you should invest
time and make SW engineers look at this. You cannot just take
what we have now and start swapping.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-25 9:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 17:10 query on UBIFS Chakradhar thota
2009-02-25 9:11 ` Ricard Wanderlof
2009-02-25 9:30 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox