![]() ![]() |
May 30 2006, 10:06 AM
Post
#1
|
|
|
Group: Members Posts: 68 Joined: 6-November 05 Member No.: 8,479 |
Hello,
I just read the following faq: http://mail.pdaxrom.org/node/29 QUOTE The best solution is to store the swap on a CF microdrive or use it over the network (this can be really slow!). Did anyone find a way to use swap over network which would work well? I think that if I could use swap from my main machine which has a SATAII hdd over Wireless B(4.5 Mbps)... It should be much faster then SD(50kb/s?) or CF(??kb/s). What do you guys think? -Also for this, I will not make my sd/cf suffer! |
|
|
|
May 30 2006, 11:58 AM
Post
#2
|
|
|
Group: Members Posts: 321 Joined: 29-August 05 From: Ontario, Canada Member No.: 7,977 |
QUOTE(Dima202 @ May 30 2006, 01:06 PM) Hello, I just read the following faq: http://mail.pdaxrom.org/node/29 QUOTE The best solution is to store the swap on a CF microdrive or use it over the network (this can be really slow!). Did anyone find a way to use swap over network which would work well? I think that if I could use swap from my main machine which has a SATAII hdd over Wireless B(4.5 Mbps)... It should be much faster then SD(50kb/s?) or CF(??kb/s). What do you guys think? -Also for this, I will not make my sd/cf suffer! I would use a fast CF card. CF cards are not very expensive these days - so if it dies, you can just get a new one. I am pretty sure that would be faster then using a network swap file... And for sure it would use less power than if you were to use your wifi card all the time.... |
|
|
|
May 30 2006, 12:42 PM
Post
#3
|
|
|
Group: Members Posts: 1,284 Joined: 31-January 04 From: Vancouver, BC -> NYC, NY Member No.: 1,633 |
maybe I don't know the full story here, but wouldn't swap over the network be unstable? You are relying on a wireless network for a system resource.
|
|
|
|
May 30 2006, 12:49 PM
Post
#4
|
|
![]() Group: Members Posts: 2,821 Joined: 13-September 04 From: Wasilla Ak. Member No.: 4,572 |
QUOTE(bluedevils @ May 30 2006, 08:42 PM) maybe I don't know the full story here, but wouldn't swap over the network be unstable? You are relying on a wireless network for a system resource. I was wondering more what would happen if he took it away from home....swap though an internet cafe connection, or via bluetooth to a cellphone doesn't sound very hopeful |
|
|
|
May 30 2006, 12:54 PM
Post
#5
|
|
|
Group: Members Posts: 1,284 Joined: 31-January 04 From: Vancouver, BC -> NYC, NY Member No.: 1,633 |
believe me, a bt cellphone connection is not very stable or close to being fast enough.
|
|
|
|
May 30 2006, 09:33 PM
Post
#6
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
you can use swap over nfs by tricking linux
http://www.denx.de/wiki/DULG/SwappingOverNFS I used this for compilations without problem. |
|
|
|
May 30 2006, 11:37 PM
Post
#7
|
|
|
Group: Members Posts: 225 Joined: 9-December 03 Member No.: 1,104 |
I've used this in the past with kernel 2.4 and 2 weeks ago with the kernel 2.6 from OE --> NBD
It works really nice with my compact flash network card... in term of performance it's fine I don't see any issue... :-) |
|
|
|
May 31 2006, 10:30 AM
Post
#8
|
|
|
Group: Members Posts: 68 Joined: 6-November 05 Member No.: 8,479 |
QUOTE in term of performance it's fine Is it any quicker then using cf/sd? |
|
|
|
Jun 3 2006, 02:25 AM
Post
#9
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Dima202 @ Jun 1 2006, 04:30 AM) let me put it this way. would you put your windows pagefile on the local machine or on another machine over the network? just put your swapfile on a cf. cf is faster than sd. the important thing here is, what is your swap needed for? if you need it to supplement memory to run heavy applications, then you want it to be as fast as possible and located locally. if you need it for large compiles then having an additionsal swap for such purposes may be appropriate since speed is obviously not a major concern for you (otherwise you would be cross compiling anyway and not using the z to compile natively). you can always have several swap files, one smaller one locally anbd a large one remotely. ust make sure you make the priority of the local one higher than the remote one so it will always use your local one first and only resort to the remote one when you really need it. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 02:54 AM |