1 |
Jason Pepas wrote: |
2 |
> I guess this is the part I don't understand. As far as I understand it, |
3 |
> a page of memory exists either in physical RAM, or on a swap device, and |
4 |
> the only entity who can tell the difference is the kernel. Please |
5 |
> understand that it's not that I am not listening, it's that I don't |
6 |
> understand how what you are saying can be true. The interesting thing |
7 |
> for me at this point would be to find out how a process can fail if it |
8 |
> is given swap instead of RAM. |
9 |
|
10 |
The kernel can only swap out pages that are not active. So on your box if a |
11 |
single running process requires more than 32MB of active memory it will fail |
12 |
since the kernel can not give it that much, even if you have 3Tb of swap space. |
13 |
Where this seems to bite alot of people on mips is doing the actual compile of |
14 |
glibc, where certain parts of it fail if you have less than 128MB because a |
15 |
single gcc process requires that much. |
16 |
|
17 |
Hardave |
18 |
-- |
19 |
gentoo-mips@g.o mailing list |