Re: [Ilugc] why embedded Linux not having swap partition.

8 views
Skip to first unread message

Raja Subramanian

unread,
Mar 28, 2012, 3:16:09 PM3/28/12
to ILUG-C
On Wed, Mar 28, 2012 at 6:24 PM, Girish Venkatachalam
<girishven...@gmail.com> wrote:
> This thread is full of theoretical stuff, lot of useful info but
> nowadays I only deal with practical reality.
>
> That is the single biggest problem with the people I meet here in LUG.
>
> You have to get practical doubts.
>
> Theory is fine but we have to grow beyond that.
>
> I have worked on few embedded systems but swap has never been a doubt
> in my mind.

Please stop
1. presenting your opinions as facts, and
2. judging others so harshly


I must thank the OP for bringing up this question because
after posting my earlier response I wanted to understand
this in more detail and found this gem:

http://www.embeddedinsights.com/channels/2010/07/21/to-mmu-or-not-to-mmu/

The healthy debate in the comments contain as much
information as the article itself.


This article also highlights another important point - that
there are often opposing views to any topic. MMU/no-MMU or
theory/practice or vi/emacs, etc. What I have learnt from
my experience is not to be so convinced and blinded by
my own belief that I disrespect or disregard the other.
This has helped me listen to the pros and cons of both
perspectives and use the most appropriate one for any
given situation.

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

0

unread,
Mar 29, 2012, 1:35:58 AM3/29/12
to ILUG-C

>> This thread is full of theoretical stuff, lot of useful info but
>> nowadays I only deal with practical reality.
>>
>> That is the single biggest problem with the people I meet here in LUG.
>>
>> You have to get practical doubts.
>>
>> Theory is fine but we have to grow beyond that.
>>
>> I have worked on few embedded systems but swap has never been a doubt
>> in my mind.

Please don't give free advice when not asked for.

>
> Please stop
> 1. presenting your opinions as facts, and
> 2. judging others so harshly
>

+1

--
0

kenneth gonsalves

unread,
Mar 29, 2012, 1:38:02 AM3/29/12
to il...@ae.iitm.ac.in
On Wed, 2012-03-28 at 15:21 +0200, Krishna wrote:
> > This thread is full of theoretical stuff, lot of useful info but
> > nowadays I only deal with practical reality.
> >
>
> This is No Theory, I am not understanding what you mean by practical
> reality.
> Can you explain the difference? How far is it from practical?

if we say it, it is theory. If he says it, it is practical.
--
regards
Kenneth Gonsalves

0

unread,
Mar 29, 2012, 1:48:38 AM3/29/12
to ILUG-C
> I must thank the OP for bringing up this question because
> after posting my earlier response I wanted to understand
> this in more detail and found this gem:
>
> http://www.embeddedinsights.com/channels/2010/07/21/to-mmu-or-not-to-mmu/
>

Interesting article, thanks for sharing.

--
0

Krishna

unread,
Mar 31, 2012, 1:10:29 PM3/31/12
to ILUG-C
On Thu, Mar 29, 2012 at 7:38 AM, kenneth gonsalves
<law...@thenilgiris.com>wrote:

> On Wed, 2012-03-28 at 15:21 +0200, Krishna wrote:
> > > This thread is full of theoretical stuff, lot of useful info but
> > > nowadays I only deal with practical reality.
> > >
> >
> > This is No Theory, I am not understanding what you mean by practical
> > reality.
> > Can you explain the difference? How far is it from practical?
>
> if we say it, it is theory. If he says it, it is practical.
>

I agree with you ;)

Bharathi Subramanian

unread,
Apr 1, 2012, 6:36:50 AM4/1/12
to ILUG-C
On Wed, Mar 28, 2012 at 5:13 PM, Arun Venkataswamy <aru...@gmail.com> wrote:

Arun pointed out the main reason for not including the Swap in
Embedded device. I will try to add some more info

>   - From a design perspective, the design team will know how much RAM is
>   required for a purpose built embedded device. This amount of RAM would have
>   been provisioned physically.

Embedded System is for a specific set of task and designer can roughly
estimate the memory utilization. So most of the time, system will be
having enough RAM to do the core functions. If not enough RAM,
unwanted application will be kicked-out of the RAM. Read about Android
Low Memory Killer.

>   - For a general purpose device, we can safely assume permanent storage
>   would typically be on board flash or memory cards. Any flash based
>   permanent storage has a fixed `life` or write cycles after which it is
>   likely to fail. Continuous use of swap file will reduce the effective life
>   of the device.

Read http://en.wikipedia.org/wiki/Wear_leveling

Bye :)
--
Bharathi Subramanian

Reply all
Reply to author
Forward
0 new messages