public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* aa works for me..rrmap didn't
@ 2002-01-16 20:58 christian e
  2002-01-16 21:05 ` Rik van Riel
  0 siblings, 1 reply; 5+ messages in thread
From: christian e @ 2002-01-16 20:58 UTC (permalink / raw)
  To: linux kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: aa works for me..rrmap didn't
  2002-01-16 20:58 aa works for me..rrmap didn't christian e
@ 2002-01-16 21:05 ` Rik van Riel
  2002-01-16 21:14   ` christian e
  0 siblings, 1 reply; 5+ messages in thread
From: Rik van Riel @ 2002-01-16 21:05 UTC (permalink / raw)
  To: christian e; +Cc: linux kernel

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/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: aa works for me..rrmap didn't
  2002-01-16 21:05 ` Rik van Riel
@ 2002-01-16 21:14   ` christian e
  2002-01-16 21:31     ` Rik van Riel
  0 siblings, 1 reply; 5+ messages in thread
From: christian e @ 2002-01-16 21:14 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: aa works for me..rrmap didn't
  2002-01-16 21:14   ` christian e
@ 2002-01-16 21:31     ` Rik van Riel
  2002-01-17  8:34       ` christian e
  0 siblings, 1 reply; 5+ messages in thread
From: Rik van Riel @ 2002-01-16 21:31 UTC (permalink / raw)
  To: christian e; +Cc: linux kernel

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/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: aa works for me..rrmap didn't
  2002-01-16 21:31     ` Rik van Riel
@ 2002-01-17  8:34       ` christian e
  0 siblings, 0 replies; 5+ messages in thread
From: christian e @ 2002-01-17  8:34 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux kernel

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-01-17  8:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-16 20:58 aa works for me..rrmap didn't christian e
2002-01-16 21:05 ` Rik van Riel
2002-01-16 21:14   ` christian e
2002-01-16 21:31     ` Rik van Riel
2002-01-17  8:34       ` christian e

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox