Re: Swap file #2
Re: Swap file #3
Posted 22 December 2010 - 11:55
Make sure the device you want your swapfile on is mounted e.g. like "ls /hdd" or "ls /media/hdd" returns a file list (at least lost&found).
The following assumes adjusting and exisiting swap on /hdd - note that using your hard disk is not a good idea as it will have the disk active a lot of the time, rather use a flash disk.
If you are setting up swap for the first time skip step (1).
1. /sbin/swapoff /hdd/swapfile --- do this only if you are adjusting swapfile size, adjust this to where you have a swapfile at the moment if any
2. /bin/dd if=/dev/zero of= /hdd/swapfile bs=1048576 count=32 -- adjust /hdd to where the device is mounted that you want the swapfile on; adjust count=32 to size of swap in MB
3. /sbin/mkswap /hdd/swapfile
4. /sbin/swapon /hdd/swapfile
As Milo said, if you have a DM800 you should not need a swapfile. If you do, you must have another look at the plugins you are running and consider reducing them. The DM800 has a weak processor and having to use swap will further destabilise the STB. Swap does not improve processor power, it helps when the STB is running out of memory, but it further loads the processor; so if you already suffer from too heavy a load on the processor, swap is a really bad idea.
Swap is really only needed on the older Enigma1 boxes that had very little memory.
Re: Swap file #4
Posted 23 December 2010 - 16:08
why swap file???
well maybe you can help me decide if i should use it or not...
i'm using rytec epg plugin which uses a lot of RAM from what i understood (i use it for many providers), and i also want to try DDamir Subtitle Player plugin which also (from what i understood) uses a lot of working memory, so i read on one forum that author of subtitle player suggested that making swap is a good idea.
i tried the combination of two plugins and they result in enigma crashing on openpli (i suspect due to large epg data), and i heard user of other images use both plugin with help of swap succesfully... so i decided to try it, but if there are more downsides than upsides, i don't need subtitle players so much to compromise funcionality of the box...
what do you think?
thanks in advance
Re: Swap file #5
Posted 12 July 2012 - 08:44
And sure enough, it happened - no go... And I had similar problems with Automounting of my internally placed 16GB USB stick (in sda1, not under usb)...
So, another reason for it...
Re: Swap file #6
Posted 12 July 2012 - 08:53
That is indeed possible, and that's why the unattended upgrade has been introduced. So certainly that is no reason for a permanent swap-file.Godrica, I was told by a developer (OpenPLi for Ferrari 500 HD) that an update has a good chance of failing (50+ or 60+ files) if there isn't a SWAP file present.
And sure enough, it happened - no go...
Re: Swap file #7
Posted 12 July 2012 - 08:57
OK but the problem is with automounting and SWAP creation apps, then...
They do not see a device to which one needs to put a SWAP file. And OpenPLi doesn't have a Device Manager, for us, non-geeks...
Re: Swap file #8
Re: Swap file #9
Re: Swap file #10
Re: Swap file #11
Posted 12 July 2012 - 14:11
I presume you tested it on DB in OpenPLi?
Re: Swap file #12
Re: Swap file #13
Posted 12 July 2012 - 14:39
Edited by littlesat, 12 July 2012 - 14:39.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Swap file #14
Re: Swap file #15
Posted 12 July 2012 - 18:38
Re: Swap file #16
Posted 12 July 2012 - 18:42
You know, a Device Manager, SWAP creation procedure etc. It works nicely!
(Mind, I had a problem with Media Player etc. - but for these things it was good!)
Maybe OpenPLi could adopt these SiF goodies and we should have those problems resolved?
Edited by gorski, 12 July 2012 - 18:43.
Re: Swap file #17
Posted 13 July 2012 - 01:03
HW: AZbox HD Elite with a custom 1GB DOM by Transcend (as opposed to 256MB standard one)
Kernel: the latest - flashed using telesat's AZUp 2.1.6, "Only kernel" option
Image: the latest - flashed using JaZUp 2.6, which creates 64MB SWAP partition during the flashing process.
Here is the log:
JaZUp! is connected to your AZbox IP: 192.168.1.xx
Your AZbox kernel is Enigma2
Your AZbox is in rescue mode
ID Team : OpenRSI
ID Enigma : OpenPli_for_Azbox
Version : 2.1
About E2 : Enigma2
Your current kernel doesn't support ext4, back to ext3.
Checking availability of destination...
Checking E2 partitions...
Formatting E2 partitions...
Formatting Extended partitions... Please wait! This operation can take a very long time.
FTP sending data Firmware E2...
FTP Transfer Ok!
Creat Swap...
Mounting MMP, please wait!
Mounting firmware, please wait!
Copying E2... Please wait, this operation takes time!
Setting correct Mount Point...
Cleaning up Cramfs...
Unmounting MMP and Root...
Swap off.
Rebooting...
JaZUp! is disconnected from your AZBOX
I installed your plugin many times in two different ways: via ipk you provided me with and from the net.
First, I transferred it to / and to /tmp. It is in /usr/lib/enigma2/python/Plugins/Extensions/PPanel but it doesn't show anywhere or at least I don't know how to access it, sadly...
The xml file is in /etc/ppanels.
Second, I installed it from the net (Plugins -> Extensions management and Advanced -> Packet Management) with the same result...
Please, advise if I am doing something wrong... Could it be the specific E2 image by RSI for AZbug HD?
Or is it only to be used by geeks, via Telnet but no GUI for the 'great unwashed'?
I will try this in my Ferrari, too, as soon as I find time... But it seems after holidays...
Thanx again and best regards!
Edited by gorski, 13 July 2012 - 01:07.
Re: Swap file #18
Posted 13 July 2012 - 06:29
OK, here is the report, regarding the easyplipanel you kindly sent to me to test, 2boom...
HW: AZbox HD Elite with a custom 1GB DOM by Transcend (as opposed to 256MB standard one)
Gorski,
We said several times before, this is the OpenPLi forum for support OpenPLi images and OpenPLi-images related hardware.
For support for your Azbox go to an Azbox forum please.
So this topic will be closed....
Also tagged with one or more of these keywords: DM800
dm800hd-pvrStarted by mimisiku, 12 Feb 2020 Dm800, openpli 2.1 |
|
|||
DM800HD Tuner A emptyStarted by Popol95, 17 Dec 2016 Tuner, DM800, Openpli4, openpli |
|
|||
Error in Remote Stream ConverterStarted by DutchZombie, 31 Oct 2016 Vu+, DM800 |
|
|||
Zenders werken niet meerStarted by Ranger61, 5 Feb 2016 dm800, Zenders, Dreambox |
|
|||
OSCam 1.20 op oeroude DM800 i.c.m. OpenPli 2.1Started by goldeneye , 25 Sep 2015 Dm800, OpenPli 2.1 |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users