You are not logged in.

#1 2006-09-21 22:56:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Protocol for swap install of files

When reaching the limit of physical memory, enter /sbin swapon -a.

What protocol exists for the entry of data into swap...lifo...fifo ...?

What data enters swap, already installed or newly installed?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2006-09-22 00:04:21

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Protocol for swap install of files

generally stuff that's swapped first is stuff thats been sitting in memory unused for a while.

James

Offline

#3 2006-09-22 00:24:08

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Protocol for swap install of files

Interesting,  iphitus.

In my actual case, everything in Arch is in memory, Live Larch and that means it is categorized in various locations, opt, etc, var, etc.

What determines the modus operandi for the exodus to swap?

The data entering is one large GB file, contiguous data...video.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2006-09-22 01:38:26

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Protocol for swap install of files

lilsirecho wrote:

Interesting,  iphitus.

In my actual case, everything in Arch is in memory, Live Larch and that means it is categorized in various locations, opt, etc, var, etc.

What determines the modus operandi for the exodus to swap?

The data entering is one large GB file, contiguous data...video.

not sure how filesystems in ram are dealt with in terms of swap, or even if they are swapped. I suspect that kswapd doesnt discriminate or even know what things are taking up ram, it just swaps pages of ram that havnt been used, from certain zones of memory irrelevant of what they are.

James

Offline

#5 2006-09-22 01:58:21

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Protocol for swap install of files

Iphitus;

Since the new data hasn't been used, maybe it is first candidate lol

I surmise that the new input ends up entiely in physical memory, bumping the old segments into swap.

After finishing utilizing the new data it would seem that in order to restore the swap  data to physical memory it might be necessary , after deleting the new data, to reboot the system.

Is the swap data withdrawn to physical memory even though it rests comfortably in swap?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB