2002-01-16 20:59:19

by christian e

[permalink] [raw]
Subject: aa works for me..rrmap didn't

Hi,all

An update yet again for those who may care.I tried both aa patch and
rrmap patch and the aa patch works fine.I havent got any swap issues
with that patch.The rrmap seemed ok in the beginning but then all hell
broke loose and it swapped like map and my apps took minutes to start.
Sorry for the lack of details I haven't got time for further debugging :-(

Hopefully I'll get moere time soon and I'll gladly test again..For now I
stick with 2.4.18pre2 with aa2 patch..

best regards

Christian


2002-01-16 21:07:20

by Rik van Riel

[permalink] [raw]
Subject: Re: aa works for me..rrmap didn't

On Wed, 16 Jan 2002, christian e wrote:

> An update yet again for those who may care.I tried both aa patch and
> rrmap patch and the aa patch works fine.I havent got any swap issues
> with that patch.The rrmap seemed ok in the beginning but then all hell
> broke loose and it swapped like map and my apps took minutes to start.
> Sorry for the lack of details I haven't got time for further debugging :-(

It would be nice if you could at least tell us what workload
you're running, this way there really isn't any way for me to
find out what to search for ;)

Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/

2002-01-16 21:17:32

by christian e

[permalink] [raw]
Subject: Re: aa works for me..rrmap didn't

Rik van Riel wrote:

> On Wed, 16 Jan 2002, christian e wrote:
>
>
>>An update yet again for those who may care.I tried both aa patch and
>>rrmap patch and the aa patch works fine.I havent got any swap issues
>>with that patch.The rrmap seemed ok in the beginning but then all hell
>>broke loose and it swapped like map and my apps took minutes to start.
>>Sorry for the lack of details I haven't got time for further debugging :-(
>>
>
> It would be nice if you could at least tell us what workload
> you're running, this way there really isn't any way for me to
> find out what to search for ;)


Sure..No problem..Currently running:

* Mozilla mail

* mozilla browser

* 7-8 xterms

* xmms playing loud music :-)

* vmware running my windows XP pro,256 megs of mem reserved for the
virtual machine..inside XP two instances of Internet explorer,ICQ,MS
Access,MS Excel

* vncviewer to a windows box


I think that's about it ;-)

And I did the echo 500 > /proc/sys/vm/vm_mapped_ratio with the aa patch..

At first the rrmap was just as good,but apparently it decided to swap
out my vmware so all of a sudden it seemed to be running off the
harddrive only and just changing desktops in X took ages...swap was up
to 130 MB before I decided to reboot using the aa patch.

Now swap is at 300k and seems stable so far..It will increase I'm sure
(did the last time) but not as much as the rrmap..Still I'd like to do
without swap altogether but I can't as vmware won't run without it :-(


best regards

Christian

2002-01-16 21:32:09

by Rik van Riel

[permalink] [raw]
Subject: Re: aa works for me..rrmap didn't

On Wed, 16 Jan 2002, christian e wrote:

> I think that's about it ;-)
>
> And I did the echo 500 > /proc/sys/vm/vm_mapped_ratio with the aa patch..

Ahhhhh ok.

I think your workload (leaving a huge process inactive for
a few minutes, then switching desktops to that process)
really does need a special VM tuning knob.

I guess I'll add a knob like this to the -rmap VM.

I'll try to keep it a bit simpler than vm_max_mapped too,
it would seem it's possible to set vm_max_mapped so high
that the box will refuse swapping under any circumstance
and the box will just crash if you have too much RAM ;)))
(then again, root can always do this)

regards,

Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/

2002-01-17 08:34:47

by christian e

[permalink] [raw]
Subject: Re: aa works for me..rrmap didn't

Rik van Riel wrote:

> On Wed, 16 Jan 2002, christian e wrote:



> Ahhhhh ok.
>
> I think your workload (leaving a huge process inactive for
> a few minutes, then switching desktops to that process)
> really does need a special VM tuning knob.
>
> I guess I'll add a knob like this to the -rmap VM.
>
> I'll try to keep it a bit simpler than vm_max_mapped too,
> it would seem it's possible to set vm_max_mapped so high
> that the box will refuse swapping under any circumstance
> and the box will just crash if you have too much RAM ;)))
> (then again, root can always do this)


Can I get such a patch ?? The 'not swap under any circumstances patch'
;-) Just what I'm looking for..

After running since yesterday the aa patched kernel is now swapping
2260k ...

best regards

Christian