TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
How to increase memory utilization in arm linux

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
Tushar chavadar



Joined: 06 Dec 2012
Posts: 2
Location: Pune

PostPosted: 06.12.2012, 10:55    Post subject: How to increase memory utilization in arm linux Reply with quote

Our GPRS Gateway application is working with Linux kernel 2.6.16. Basic working of gateway is we collect data from serial & create new file for every data.
This data dir is maintained in /flash of ssv module. Once GPRS connection is established then I am sending all these data filed through modem & clearing the memory in flash after successful sending.
When GPRS connection is active, all these files get sent over GPRS, but during disconnection the files are stored for having backup to avoid data loss.
Hence during disconnection state these files in /flash folder get increased due to which free memory decreases & all processes like GPRS,httpd get restart. These process need enough memory to restart again. Hence I have limitation on number of backup files.
Here can I store more no of files in other directory?
Also I need help regarding how can I increase user memory in ssv module.
SSV module is linux ported 32bit microcontroller module.
Do you have any suggestions for this ?
_________________
Our company basically working in wireless Domain.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
hne



Joined: 11 Jul 2008
Posts: 210
Location: Hannover

PostPosted: 08.01.2013, 13:50    Post subject: Reply with quote

Hello,

have you always enabled the user's flash area?
Please check it with "mount ; df -h"

If you not have always used mtdblock3 with 8 MB, then use it.
Here are the command:

Code:
mkdir /flash3
mount /dev/mtdblock3 /flash3 -t jffs2


Restarting GPRS, httpd or rebooting, if flash is full, should never be a problem, because these daemons does not create or write files in directory /flash. If it is so in your case, than these daemons are wrong configured. Never of permanently task should write data into a flash.

Remember to avoid permanently writes into /flash!!! This will degrease life time of this flash area drastically. A process should consumption small data sizes into a ram-disk area /tmp, and after a good limit was summered, a bigger file should store into /flash in one write cyle.
_________________
Henry Nestler
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015