Setting up a Swap File on a USB drive

cormachogan

Member
Joined
Jul 8, 2010
Messages
33
Reaction score
0
Points
0
Age
51
My Satellite Setup
Dreambox DM800, Vu+ Duo in the way, Triax TDA88 dish, Geotrac SG2100 motor,Inverto Twin Black Ultra LNB
My Location
Dublin
Hi. I'm trying to setup a swap file on a usb drive - I've been told this should help performance. I've added a 1GB drive and formatted it on the Dreambox & rebooted.

When I try to add the swap file in the blue panel, the only option I have is the internal hard drive and not the usb drive. Any ideas? I'm using Dream Elite Phoenix 1.33.

Thanks :)
 

Oily

Regular Member
Joined
Dec 23, 2005
Messages
508
Reaction score
1
Points
18
Age
56
My Satellite Setup
Satellite=Motorized Triax 88cm&a DM800HD with 500gb hd.Vu+ Duo
My Location
Radcliffe
Have you mounted the USB?,blue panel then device manager.It should show what you have connected and whether it's mounted or not
 

Huevos

Satellite Freak
Joined
Sep 11, 2008
Messages
6,036
Reaction score
1,273
Points
113
My Satellite Setup
57E to 58W, C-band and Ku, DVB-S2, 4:2:2 and blindscan.
My Location
38.5ºN, 0.5ºW
cormachogan said:
I've added a 1GB drive
Are you talking about a flash drive? USB 2.0 is already slow compared to eSATA (480 Mbps compared to 3 Gbps) and a flash drive is going to be even slower. Also flash is a storage device only, if you use it as a swap file device it won't last long.
 

cormachogan

Member
Joined
Jul 8, 2010
Messages
33
Reaction score
0
Points
0
Age
51
My Satellite Setup
Dreambox DM800, Vu+ Duo in the way, Triax TDA88 dish, Geotrac SG2100 motor,Inverto Twin Black Ultra LNB
My Location
Dublin
Thanks Oily - I missed that. The drive needed a mountpoint. That's done now and I have the option to use it for the swap file.

I've setup a 64MB swap file but it remains inactive. Any ideas? I've pressed the red button to activate it and it's also set to Autostart. I've reboted the box a few times...
 

cormachogan

Member
Joined
Jul 8, 2010
Messages
33
Reaction score
0
Points
0
Age
51
My Satellite Setup
Dreambox DM800, Vu+ Duo in the way, Triax TDA88 dish, Geotrac SG2100 motor,Inverto Twin Black Ultra LNB
My Location
Dublin
Huevos - it is a flash drive alright. I have a sata drive fitted and the problem I am having is when watching and wouldn't recording HD at the same time is giving bad performance. After some searching, I thought a swap file would help (RAM at 98%). Surely it wouldn't help if I put it on the hard drive as well?
 

Huevos

Satellite Freak
Joined
Sep 11, 2008
Messages
6,036
Reaction score
1,273
Points
113
My Satellite Setup
57E to 58W, C-band and Ku, DVB-S2, 4:2:2 and blindscan.
My Location
38.5ºN, 0.5ºW
Don't take too much notice of me because I'm not a Dreambox owner... but I used to write software so I've got an idea things work. Swap file is what you use if you haven't got enough RAM to do an operation. It is miles slower than RAM though, so you can only use it when it doesn't matter if your application runs slow. That's not the case here though because your application is running in real time so anything that causes a slow down is going to make the situation worse. To sort it out you need to find out where the bottle neck is. It could be processor, RAM or hard drive. Once you work out which it is you need to upgrade that hardware (faster disc for example) or lower the demand on those resources (make sure there are no unnecessary apps using those resources at the same time).
 

td03-5

.
Joined
Dec 21, 2004
Messages
373
Reaction score
0
Points
0
Age
76
My Satellite Setup
.
My Location
UK
Hi @cormachogan,

Regardless of whether it will help your situation or not, I fully agree with @Huevos on NOT using a USB memory stick for a swap-file. These devices use 'punch-thru' technology and are not designed for continuous Write operations. In Klona's original Dreambox Guide, he strongly advised against setting up a swap-file on a USB memory stick. He said the stick would be dead within a month!

Sorry this does not help with your problem but perhaps it helps to advise against an unwise move.


Best wishes, John.
 
Top