* Re: VM
@ 2001-10-22 21:33 Marcelo Roberto Jimenez
2001-10-22 21:44 ` VM Oliver Xymoron
0 siblings, 1 reply; 59+ messages in thread
From: Marcelo Roberto Jimenez @ 2001-10-22 21:33 UTC (permalink / raw)
To: linux-kernel
Alan Cox wrote:
> > > Too ugly for words.
> >
> > Though, if it's done from the start of 2.5, it could be very possible.
> > Is there a way to make it non-ugly?
>
> I would hope by then we have a definitive answer as to the best path in
> the VM world
Maybe there's no such answer. Maybe it's undecidable. In the mathematical (Gödel) sense.
Marcelo.
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 21:33 VM Marcelo Roberto Jimenez
@ 2001-10-22 21:44 ` Oliver Xymoron
2001-10-23 4:27 ` VM Patrick McFarland
0 siblings, 1 reply; 59+ messages in thread
From: Oliver Xymoron @ 2001-10-22 21:44 UTC (permalink / raw)
To: Marcelo Roberto Jimenez; +Cc: linux-kernel
On Mon, 22 Oct 2001, Marcelo Roberto Jimenez wrote:
> Alan Cox wrote:
> > > > Too ugly for words.
> > >
> > > Though, if it's done from the start of 2.5, it could be very possible.
> > > Is there a way to make it non-ugly?
> >
> > I would hope by then we have a definitive answer as to the best path in
> > the VM world
>
> Maybe there's no such answer. Maybe it's undecidable. In the
> mathematical (Gödel) sense.
In the event that we're unable to determine which one has the best
performance in a finite amount of time, the simpler design wins.
So there will be a decision.
--
"Love the dolphins," she advised him. "Write by W.A.S.T.E.."
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 21:44 ` VM Oliver Xymoron
@ 2001-10-23 4:27 ` Patrick McFarland
2001-10-23 20:04 ` VM bill davidsen
0 siblings, 1 reply; 59+ messages in thread
From: Patrick McFarland @ 2001-10-23 4:27 UTC (permalink / raw)
To: Oliver Xymoron; +Cc: linux-kernel
Slightly off topic, but I kinda find it cool that this thread is still going, seeing as I started it on the 15th. =)
Anyhow, have we decided that 2.5 should have the ac-vm or the linus-vm?
On 22-Oct-2001, Oliver Xymoron wrote:
> On Mon, 22 Oct 2001, Marcelo Roberto Jimenez wrote:
>
> > Alan Cox wrote:
> > > > > Too ugly for words.
> > > >
> > > > Though, if it's done from the start of 2.5, it could be very possible.
> > > > Is there a way to make it non-ugly?
> > >
> > > I would hope by then we have a definitive answer as to the best path in
> > > the VM world
> >
> > Maybe there's no such answer. Maybe it's undecidable. In the
> > mathematical (G?del) sense.
>
> In the event that we're unable to determine which one has the best
> performance in a finite amount of time, the simpler design wins.
> So there will be a decision.
>
> --
> "Love the dolphins," she advised him. "Write by W.A.S.T.E.."
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 4:27 ` VM Patrick McFarland
@ 2001-10-23 20:04 ` bill davidsen
2001-10-23 20:13 ` VM Rik van Riel
2001-10-23 22:15 ` VM Patrick McFarland
0 siblings, 2 replies; 59+ messages in thread
From: bill davidsen @ 2001-10-23 20:04 UTC (permalink / raw)
To: linux-kernel
In article <20011023002702.A2446@localhost>,
Patrick McFarland <unknown@panax.com> wrote:
| Slightly off topic, but I kinda find it cool that this thread is still going, seeing as I
| started it on the 15th. =)
|
| Anyhow, have we decided that 2.5 should have the ac-vm or the linus-vm?
I hope not, the bug-fix and corner case competition is doing good thing
for VM in both directions. That's healthy.
What I would like to see is VM moved to a module so you could have
either, or any of several competing designs which would be bound to
emerge once there's a neat interface and you can write to that instead
of trying to understand and hack all the stuff needed now. The effort is
high and the chance for problems high as well right now, in other words
a high ratio of implementation to method expertise.
I also would love to see the dispatcher moved to a module, so people can
easily play with ideas like the idle process, integrating VM and
dispatch operation at high memory load, etc.
Right now you not only need to understand the topic, but the
implementation. The implementation could be made easier with a clean
interface and an easy way to load changes for test without compiling a
kernel.
<BOOM>
Yes, I'm still beating the drum for those modules.
</BOOM>
--
bill davidsen <davidsen@tmr.com>
His first management concern is not solving the problem, but covering
his ass. If he lived in the middle ages he'd wear his codpiece backward.
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 20:04 ` VM bill davidsen
@ 2001-10-23 20:13 ` Rik van Riel
2001-10-23 22:15 ` VM Patrick McFarland
1 sibling, 0 replies; 59+ messages in thread
From: Rik van Riel @ 2001-10-23 20:13 UTC (permalink / raw)
To: bill davidsen; +Cc: linux-kernel
On Tue, 23 Oct 2001, bill davidsen wrote:
> <BOOM>
> Yes, I'm still beating the drum for those modules.
> </BOOM>
Send patches. ;)
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 20:04 ` VM bill davidsen
2001-10-23 20:13 ` VM Rik van Riel
@ 2001-10-23 22:15 ` Patrick McFarland
1 sibling, 0 replies; 59+ messages in thread
From: Patrick McFarland @ 2001-10-23 22:15 UTC (permalink / raw)
To: bill davidsen; +Cc: linux-kernel
On 23-Oct-2001, bill davidsen wrote:
> In article <20011023002702.A2446@localhost>,
> Patrick McFarland <unknown@panax.com> wrote:
> | Slightly off topic, but I kinda find it cool that this thread is still going, seeing as I
> | started it on the 15th. =)
> |
> | Anyhow, have we decided that 2.5 should have the ac-vm or the linus-vm?
>
> I hope not, the bug-fix and corner case competition is doing good thing
> for VM in both directions. That's healthy.
>
> What I would like to see is VM moved to a module so you could have
> either, or any of several competing designs which would be bound to
> emerge once there's a neat interface and you can write to that instead
> of trying to understand and hack all the stuff needed now. The effort is
> high and the chance for problems high as well right now, in other words
> a high ratio of implementation to method expertise.
>
That module idea was mine, btw. Rik will speak up on that too, cause I was talking to him about it. =) I dont like having to run ac just for the better vm engine.
> I also would love to see the dispatcher moved to a module, so people can
> easily play with ideas like the idle process, integrating VM and
> dispatch operation at high memory load, etc.
>
> Right now you not only need to understand the topic, but the
> implementation. The implementation could be made easier with a clean
> interface and an easy way to load changes for test without compiling a
> kernel.
>
> <BOOM>
> Yes, I'm still beating the drum for those modules.
> </BOOM>
>
> --
> bill davidsen <davidsen@tmr.com>
> His first management concern is not solving the problem, but covering
> his ass. If he lived in the middle ages he'd wear his codpiece backward.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
@ 2001-10-22 13:36 Michael T. Babcock
2001-10-22 14:02 ` VM Alan Cox
0 siblings, 1 reply; 59+ messages in thread
From: Michael T. Babcock @ 2001-10-22 13:36 UTC (permalink / raw)
To: Linux Kernel
> I've not reached any final conclusions on the VM - there are things that
> Rik's VM shows up that look like the VM algorithm is right but it
> triggers other stuff, and there are a couple of hackish bits left in
still.
I have never done this comparison myself, but I was wondering how ugly
it would be if stable versions of Andrea's and Rik's VMs were both
available in your/Linus' kernel as compile-time options. Assuming that
each provides better performance under certain conditions, wouldn't
being able to choose a VM make sense, if they don't step on the rest of
the kernel too much ...
--
Michael T. Babcock
http://www.fibrespeed.net/~mbabcock
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 13:36 VM Michael T. Babcock
@ 2001-10-22 14:02 ` Alan Cox
2001-10-22 18:00 ` VM Mike Fedyk
2001-10-22 22:35 ` VM J . A . Magallon
0 siblings, 2 replies; 59+ messages in thread
From: Alan Cox @ 2001-10-22 14:02 UTC (permalink / raw)
To: Michael T. Babcock; +Cc: Linux Kernel
> I have never done this comparison myself, but I was wondering how ugly
> it would be if stable versions of Andrea's and Rik's VMs were both
> available in your/Linus' kernel as compile-time options. Assuming that
> each provides better performance under certain conditions, wouldn't
Too ugly for words.
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 14:02 ` VM Alan Cox
@ 2001-10-22 18:00 ` Mike Fedyk
2001-10-22 17:32 ` VM Marcelo Tosatti
` (2 more replies)
2001-10-22 22:35 ` VM J . A . Magallon
1 sibling, 3 replies; 59+ messages in thread
From: Mike Fedyk @ 2001-10-22 18:00 UTC (permalink / raw)
To: Alan Cox; +Cc: Michael T. Babcock, Linux Kernel
On Mon, Oct 22, 2001 at 03:02:49PM +0100, Alan Cox wrote:
> > I have never done this comparison myself, but I was wondering how ugly
> > it would be if stable versions of Andrea's and Rik's VMs were both
> > available in your/Linus' kernel as compile-time options. Assuming that
> > each provides better performance under certain conditions, wouldn't
>
> Too ugly for words.
Though, if it's done from the start of 2.5, it could be very possible. Is
there a way to make it non-ugly?
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-22 18:00 ` VM Mike Fedyk
@ 2001-10-22 17:32 ` Marcelo Tosatti
2001-10-22 18:59 ` VM Daniel Phillips
2001-10-22 20:21 ` VM Alan Cox
2 siblings, 0 replies; 59+ messages in thread
From: Marcelo Tosatti @ 2001-10-22 17:32 UTC (permalink / raw)
To: Mike Fedyk; +Cc: Alan Cox, Michael T. Babcock, Linux Kernel
On Mon, 22 Oct 2001, Mike Fedyk wrote:
> On Mon, Oct 22, 2001 at 03:02:49PM +0100, Alan Cox wrote:
> > > I have never done this comparison myself, but I was wondering how ugly
> > > it would be if stable versions of Andrea's and Rik's VMs were both
> > > available in your/Linus' kernel as compile-time options. Assuming that
> > > each provides better performance under certain conditions, wouldn't
> >
> > Too ugly for words.
>
> Though, if it's done from the start of 2.5, it could be very possible. Is
> there a way to make it non-ugly?
Even if its non-ugly, its non-easy. Way too much overhead.
For 2.5 we'll probably be able to get people working together.
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 18:00 ` VM Mike Fedyk
2001-10-22 17:32 ` VM Marcelo Tosatti
@ 2001-10-22 18:59 ` Daniel Phillips
2001-10-22 22:10 ` VM Ed Tomlinson
2001-10-23 5:38 ` VM Keith Owens
2001-10-22 20:21 ` VM Alan Cox
2 siblings, 2 replies; 59+ messages in thread
From: Daniel Phillips @ 2001-10-22 18:59 UTC (permalink / raw)
To: Mike Fedyk, Alan Cox; +Cc: Michael T. Babcock, Linux Kernel
On October 22, 2001 08:00 pm, Mike Fedyk wrote:
> On Mon, Oct 22, 2001 at 03:02:49PM +0100, Alan Cox wrote:
> > > I have never done this comparison myself, but I was wondering how ugly
> > > it would be if stable versions of Andrea's and Rik's VMs were both
> > > available in your/Linus' kernel as compile-time options. Assuming that
> > > each provides better performance under certain conditions, wouldn't
> >
> > Too ugly for words.
>
> Though, if it's done from the start of 2.5, it could be very possible. Is
> there a way to make it non-ugly?
No, not within the current structure of our config system. It touches the
tree in many places break out nicely into a few defines or separable files.
Both mm variants are under heavy development and injecting them with a bunch
of cruft just to make it compile-time configurable would only add to the
difficulty of maintaining a subsystem that already is very difficult to
maintain.
This is properly a patch.
If you want to argue for something, argue for giving config the ability to
apply patches, that would be lots of fun.
--
Daniel
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 18:59 ` VM Daniel Phillips
@ 2001-10-22 22:10 ` Ed Tomlinson
2001-10-23 5:37 ` VM Keith Owens
2001-10-23 5:38 ` VM Keith Owens
1 sibling, 1 reply; 59+ messages in thread
From: Ed Tomlinson @ 2001-10-22 22:10 UTC (permalink / raw)
To: linux-kernel
Daniel Phillips wrote:
> On October 22, 2001 08:00 pm, Mike Fedyk wrote:
>> On Mon, Oct 22, 2001 at 03:02:49PM +0100, Alan Cox wrote:
>> > > I have never done this comparison myself, but I was wondering how
>> > > ugly it would be if stable versions of Andrea's and Rik's VMs were
>> > > both
>> > > available in your/Linus' kernel as compile-time options. Assuming
>> > > that each provides better performance under certain conditions,
>> > > wouldn't
>> >
>> > Too ugly for words.
>>
>> Though, if it's done from the start of 2.5, it could be very possible.
>> Is there a way to make it non-ugly?
>
> No, not within the current structure of our config system. It touches the
> tree in many places break out nicely into a few defines or separable
> files. Both mm variants are under heavy development and injecting them
> with a bunch of cruft just to make it compile-time configurable would only
> add to the difficulty of maintaining a subsystem that already is very
> difficult to maintain.
>
> This is properly a patch.
>
> If you want to argue for something, argue for giving config the ability to
> apply patches, that would be lots of fun.
Actually this _is_ a workable solution. IBM has done it for decades with
its 'VM' operating system.
You get a base file, a couple of control files, and a lists of patches.
When you go to build a nucleus (translate kernel) the patches are applied
and the source assembled...
Ed Tomlinson
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 22:10 ` VM Ed Tomlinson
@ 2001-10-23 5:37 ` Keith Owens
0 siblings, 0 replies; 59+ messages in thread
From: Keith Owens @ 2001-10-23 5:37 UTC (permalink / raw)
To: tomlins; +Cc: linux-kernel
On Mon, 22 Oct 2001 18:10:44 -0400,
Ed Tomlinson <tomlins@CAM.ORG> wrote:
>Daniel Phillips wrote:
>> If you want to argue for something, argue for giving config the ability to
>> apply patches, that would be lots of fun.
>
>Actually this _is_ a workable solution. IBM has done it for decades with
>its 'VM' operating system.
>
>You get a base file, a couple of control files, and a lists of patches.
>When you go to build a nucleus (translate kernel) the patches are applied
>and the source assembled...
Same with the other mainframe systems, using something like SMP (System
Mangling/Management Product) to track the interdependencies. But that
only works when almost all of the patches come from a single source
which does integration testing before releasing them. This method does
not work well with multiple sources, look at the hassles third party
vendors have to go through to keep up with IBM patches.
Keith Owens (who spent far too many years fighting SMP)
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 18:59 ` VM Daniel Phillips
2001-10-22 22:10 ` VM Ed Tomlinson
@ 2001-10-23 5:38 ` Keith Owens
2001-10-23 16:15 ` VM Daniel Phillips
1 sibling, 1 reply; 59+ messages in thread
From: Keith Owens @ 2001-10-23 5:38 UTC (permalink / raw)
To: Daniel Phillips; +Cc: Linux Kernel
On Mon, 22 Oct 2001 20:59:40 +0200,
Daniel Phillips <phillips@bonn-fries.net> wrote:
>If you want to argue for something, argue for giving config the ability to
>apply patches, that would be lots of fun.
cc list trimmed.
It is kbuild rather than config that needs the ability. I could do it
trivially in kbuild 2.5, I almost added the facility at one time. Alas
it breaks when you get overlapping patches, select one config or
another and it works, select both (assuming they are not exclusive) and
it breaks.
I don't have a solution and the symptoms of overlapping patches are
worse than the problem that patches are trying to fix, so I left patch
support out of kbuild 2.5. You can use shadow trees where you overlay
a new implementation of a subsystem over the base kernel, then switch
between versions by specifying which set of trees you are using.
http://sourceforge.net/projects/kbuild
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 5:38 ` VM Keith Owens
@ 2001-10-23 16:15 ` Daniel Phillips
2001-10-23 16:14 ` VM David Lang
0 siblings, 1 reply; 59+ messages in thread
From: Daniel Phillips @ 2001-10-23 16:15 UTC (permalink / raw)
To: Keith Owens; +Cc: Linux Kernel
On October 23, 2001 07:38 am, Keith Owens wrote:
> Daniel Phillips <phillips@bonn-fries.net> wrote:
> >If you want to argue for something, argue for giving config the ability to
> >apply patches, that would be lots of fun.
>
> It is kbuild rather than config that needs the ability. I could do it
> trivially in kbuild 2.5, I almost added the facility at one time. Alas
> it breaks when you get overlapping patches, select one config or
> another and it works, select both (assuming they are not exclusive) and
> it breaks.
Yes, if someone was determined to set this up they'd have to laboriously
break up overlapping patches into common vs independent pieces, and determine
that other patches are simply mutually incompatible, thus requiring suitable
config rule restrictions. Wow, way too much work for the tree owner, and
things will re-break frequently when the patch owner makes updates.
Maybe this technique is something that would interest the FOLK guys, where
the goal is to produce a single tree with as many options as possible, and
where they're willing to put in extra maintainance work. Besides the two VM
designs, there's the XFS patch, which we don't have a good way of integrating
into a single tree just yet.
Please treat the above as idle speculation. It's evident that including
patches in kbuild is an express route to madness. For one thing, I'd no
longer be able to index the complete source tree for browsing.
> I don't have a solution and the symptoms of overlapping patches are
> worse than the problem that patches are trying to fix, so I left patch
> support out of kbuild 2.5. You can use shadow trees where you overlay
> a new implementation of a subsystem over the base kernel, then switch
> between versions by specifying which set of trees you are using.
--
Daniel
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 16:15 ` VM Daniel Phillips
@ 2001-10-23 16:14 ` David Lang
2001-10-24 13:54 ` VM J . A . Magallon
2001-10-24 14:44 ` VM Daniel Phillips
0 siblings, 2 replies; 59+ messages in thread
From: David Lang @ 2001-10-23 16:14 UTC (permalink / raw)
To: Daniel Phillips; +Cc: Keith Owens, Linux Kernel
Daniel, I think the suggestion isn't to break out the differences in a
bunch of config options, but rather to do something like duplicating all
files that are VM related into two files, foo.c becomes foo.aa.c and
foo.rik.c at that point your config file either uses all the .rik files or
all the .aa files and both would be in the same tree, but not interact
with each other.
yes, there would be a lot of duplication between them, but something like
this would let people compare the two directly without also having all the
other linus vs ac changes potentially affecting their tests.
David Lang
On Tue, 23 Oct 2001, Daniel Phillips wrote:
> Date: Tue, 23 Oct 2001 18:15:36 +0200
> From: Daniel Phillips <phillips@bonn-fries.net>
> To: Keith Owens <kaos@ocs.com.au>
> Cc: Linux Kernel <linux-kernel@vger.kernel.org>
> Subject: Re: VM
>
> On October 23, 2001 07:38 am, Keith Owens wrote:
> > Daniel Phillips <phillips@bonn-fries.net> wrote:
> > >If you want to argue for something, argue for giving config the ability to
> > >apply patches, that would be lots of fun.
> >
> > It is kbuild rather than config that needs the ability. I could do it
> > trivially in kbuild 2.5, I almost added the facility at one time. Alas
> > it breaks when you get overlapping patches, select one config or
> > another and it works, select both (assuming they are not exclusive) and
> > it breaks.
>
> Yes, if someone was determined to set this up they'd have to laboriously
> break up overlapping patches into common vs independent pieces, and determine
> that other patches are simply mutually incompatible, thus requiring suitable
> config rule restrictions. Wow, way too much work for the tree owner, and
> things will re-break frequently when the patch owner makes updates.
>
> Maybe this technique is something that would interest the FOLK guys, where
> the goal is to produce a single tree with as many options as possible, and
> where they're willing to put in extra maintainance work. Besides the two VM
> designs, there's the XFS patch, which we don't have a good way of integrating
> into a single tree just yet.
>
> Please treat the above as idle speculation. It's evident that including
> patches in kbuild is an express route to madness. For one thing, I'd no
> longer be able to index the complete source tree for browsing.
>
> > I don't have a solution and the symptoms of overlapping patches are
> > worse than the problem that patches are trying to fix, so I left patch
> > support out of kbuild 2.5. You can use shadow trees where you overlay
> > a new implementation of a subsystem over the base kernel, then switch
> > between versions by specifying which set of trees you are using.
>
> --
> Daniel
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 16:14 ` VM David Lang
@ 2001-10-24 13:54 ` J . A . Magallon
2001-10-24 18:11 ` VM Luigi Genoni
2001-10-24 14:44 ` VM Daniel Phillips
1 sibling, 1 reply; 59+ messages in thread
From: J . A . Magallon @ 2001-10-24 13:54 UTC (permalink / raw)
To: David Lang; +Cc: Linux Kernel
On 20011023 David Lang wrote:
>Daniel, I think the suggestion isn't to break out the differences in a
>bunch of config options, but rather to do something like duplicating all
>files that are VM related into two files, foo.c becomes foo.aa.c and
>foo.rik.c at that point your config file either uses all the .rik files or
>all the .aa files and both would be in the same tree, but not interact
>with each other.
>
Could it be as simple as duplicating linux/mm subtree to mm-aa and mm-rik,
and symlinking based on a CONFIG_ option ? Or are there any other touched
files apart from that subtree ?
Or just adding separate config options, *config-aa and *config-rik,
that make the symlink and call *config ?
--
J.A. Magallon # Let the source be with you...
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.12-ac6-beo #1 SMP Tue Oct 23 21:24:30 CEST 2001 i686
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-24 13:54 ` VM J . A . Magallon
@ 2001-10-24 18:11 ` Luigi Genoni
0 siblings, 0 replies; 59+ messages in thread
From: Luigi Genoni @ 2001-10-24 18:11 UTC (permalink / raw)
To: J . A . Magallon; +Cc: David Lang, Linux Kernel
UGLY!
two VM is one kernel is a nonsense. To develop an OS you have to do also
choices like this. I already wrote what i think of those VMs, they
are both usefull, but with different conditions and with different
worksload and HWs, depending on the behaviour you need.
Rik and Andrea know my point of view, I need a predictable VM for mission
critical USE, on desktop people will need the fastest VM for low memory
systems.
But to manage the development implys a choice, that could be different
for different branches, but anyway someone has to say, "This is the
right VM for this kernel, for what I think this kernel should
do"!
Luigi
On Wed, 24 Oct 2001, J . A . Magallon wrote:
>
> On 20011023 David Lang wrote:
> >Daniel, I think the suggestion isn't to break out the differences in a
> >bunch of config options, but rather to do something like duplicating all
> >files that are VM related into two files, foo.c becomes foo.aa.c and
> >foo.rik.c at that point your config file either uses all the .rik files or
> >all the .aa files and both would be in the same tree, but not interact
> >with each other.
> >
>
> Could it be as simple as duplicating linux/mm subtree to mm-aa and mm-rik,
> and symlinking based on a CONFIG_ option ? Or are there any other touched
> files apart from that subtree ?
>
> Or just adding separate config options, *config-aa and *config-rik,
> that make the symlink and call *config ?
>
> --
> J.A. Magallon # Let the source be with you...
> mailto:jamagallon@able.es
> Mandrake Linux release 8.2 (Cooker) for i586
> Linux werewolf 2.4.12-ac6-beo #1 SMP Tue Oct 23 21:24:30 CEST 2001 i686
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-23 16:14 ` VM David Lang
2001-10-24 13:54 ` VM J . A . Magallon
@ 2001-10-24 14:44 ` Daniel Phillips
2001-10-24 16:24 ` VM David Lang
1 sibling, 1 reply; 59+ messages in thread
From: Daniel Phillips @ 2001-10-24 14:44 UTC (permalink / raw)
To: David Lang; +Cc: Keith Owens, Linux Kernel
On October 23, 2001 06:14 pm, David Lang wrote:
> Daniel, I think the suggestion isn't to break out the differences in a
> bunch of config options, but rather to do something like duplicating all
> files that are VM related into two files, foo.c becomes foo.aa.c and
> foo.rik.c at that point your config file either uses all the .rik files or
> all the .aa files and both would be in the same tree, but not interact
> with each other.
>
> yes, there would be a lot of duplication between them, but something like
> this would let people compare the two directly without also having all the
> other linus vs ac changes potentially affecting their tests.
Patch and lilo are your friends.
--
Daniel
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-24 14:44 ` VM Daniel Phillips
@ 2001-10-24 16:24 ` David Lang
2001-10-24 17:56 ` VM Daniel Phillips
0 siblings, 1 reply; 59+ messages in thread
From: David Lang @ 2001-10-24 16:24 UTC (permalink / raw)
To: Daniel Phillips; +Cc: Keith Owens, Linux Kernel
the problem is that there isn't a patchset available from either aa or rik
that converts one to the other, the only patchset readily available
converts linus+aa to ac+rik this changes a lot more then just the VM stuff
so without going to a lot of effort it's not possible to directly compare
the two VM designs while keeping the rest of the kernel the same.
David Lang
On Wed, 24 Oct 2001, Daniel Phillips wrote:
> Date: Wed, 24 Oct 2001 16:44:53 +0200
> From: Daniel Phillips <phillips@bonn-fries.net>
> To: David Lang <david.lang@digitalinsight.com>
> Cc: Keith Owens <kaos@ocs.com.au>,
> Linux Kernel <linux-kernel@vger.kernel.org>
> Subject: Re: VM
>
> On October 23, 2001 06:14 pm, David Lang wrote:
> > Daniel, I think the suggestion isn't to break out the differences in a
> > bunch of config options, but rather to do something like duplicating all
> > files that are VM related into two files, foo.c becomes foo.aa.c and
> > foo.rik.c at that point your config file either uses all the .rik files or
> > all the .aa files and both would be in the same tree, but not interact
> > with each other.
> >
> > yes, there would be a lot of duplication between them, but something like
> > this would let people compare the two directly without also having all the
> > other linus vs ac changes potentially affecting their tests.
>
> Patch and lilo are your friends.
>
> --
> Daniel
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-24 16:24 ` VM David Lang
@ 2001-10-24 17:56 ` Daniel Phillips
2001-10-24 16:50 ` VM David Lang
0 siblings, 1 reply; 59+ messages in thread
From: Daniel Phillips @ 2001-10-24 17:56 UTC (permalink / raw)
To: David Lang; +Cc: Keith Owens, Linux Kernel
On October 24, 2001 06:24 pm, David Lang wrote:
> the problem is that there isn't a patchset available from either aa or rik
> that converts one to the other, the only patchset readily available
> converts linus+aa to ac+rik this changes a lot more then just the VM stuff
> so without going to a lot of effort it's not possible to directly compare
> the two VM designs while keeping the rest of the kernel the same.
A non-kernel-hacker can easily make the patch. Andrea posted a list of all
the files affected back at the beginning of his 'vm rewrite' thread.
> > > Daniel, I think the suggestion isn't to break out the differences in a
> > > bunch of config options, but rather to do something like duplicating all
> > > files that are VM related into two files, foo.c becomes foo.aa.c and
> > > foo.rik.c at that point your config file either uses all the .rik files
> > > or all the .aa files and both would be in the same tree, but not
> > > interact with each other.
> > >
> > > yes, there would be a lot of duplication between them, but something
> > > like this would let people compare the two directly without also having
> > > all the other linus vs ac changes potentially affecting their tests.
> >
> > Patch and lilo are your friends.
--
Daniel
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-24 17:56 ` VM Daniel Phillips
@ 2001-10-24 16:50 ` David Lang
2001-10-24 18:29 ` VM Daniel Phillips
0 siblings, 1 reply; 59+ messages in thread
From: David Lang @ 2001-10-24 16:50 UTC (permalink / raw)
To: Daniel Phillips; +Cc: Keith Owens, Linux Kernel
those were the files that his patches were changing, since then we also
have had linus, rik and alan making changes in the various trees.
are you willing to bet that the only changes in those files are related to
the VM system changes and that there are no other -ac related changes in
those files due to the other ac changes? without someone who really
understands the rik VM I wouldn't trust breaking them out of the -ac
tree and the same thing goes for the aa VM and the linus tree (to add that
into the ac tree)
as I see it this requires a few steps.
1. linus and alan agree to implement such a thing (which includes
alanbeing willing to track the appropriate differences)
2. rik and/or aa and/or alan seperate out the rik VM from the ac tree and
submit it to linus.
3. rik and/or aa and/or alan seperate out the aa VM from the linus tree
and submit it to alan.
it's a lot of work to get it setup this way, and it does duplicate a bunch
of files that could get out of sync if not carefully managed but it's
about the only way that I can see people able to test just the different
VM systems.
now if one of the above four states that there are files (or directories)
that are only the VM system and it is as simple as swapping out everything
in those files between the linus and ac trees then steps 2&3 get much
simpler.
David Lang
On Wed, 24 Oct 2001, Daniel Phillips wrote:
> Date: Wed, 24 Oct 2001 19:56:00 +0200
> From: Daniel Phillips <phillips@bonn-fries.net>
> To: David Lang <david.lang@digitalinsight.com>
> Cc: Keith Owens <kaos@ocs.com.au>,
> Linux Kernel <linux-kernel@vger.kernel.org>
> Subject: Re: VM
>
> On October 24, 2001 06:24 pm, David Lang wrote:
> > the problem is that there isn't a patchset available from either aa or rik
> > that converts one to the other, the only patchset readily available
> > converts linus+aa to ac+rik this changes a lot more then just the VM stuff
> > so without going to a lot of effort it's not possible to directly compare
> > the two VM designs while keeping the rest of the kernel the same.
>
> A non-kernel-hacker can easily make the patch. Andrea posted a list of all
> the files affected back at the beginning of his 'vm rewrite' thread.
>
> > > > Daniel, I think the suggestion isn't to break out the differences in a
> > > > bunch of config options, but rather to do something like duplicating all
> > > > files that are VM related into two files, foo.c becomes foo.aa.c and
> > > > foo.rik.c at that point your config file either uses all the .rik files
> > > > or all the .aa files and both would be in the same tree, but not
> > > > interact with each other.
> > > >
> > > > yes, there would be a lot of duplication between them, but something
> > > > like this would let people compare the two directly without also having
> > > > all the other linus vs ac changes potentially affecting their tests.
> > >
> > > Patch and lilo are your friends.
>
> --
> Daniel
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-24 16:50 ` VM David Lang
@ 2001-10-24 18:29 ` Daniel Phillips
0 siblings, 0 replies; 59+ messages in thread
From: Daniel Phillips @ 2001-10-24 18:29 UTC (permalink / raw)
To: David Lang; +Cc: Keith Owens, Linux Kernel
On October 24, 2001 06:50 pm, David Lang wrote:
> those were the files that his patches were changing, since then we also
> have had linus, rik and alan making changes in the various trees.
>
> are you willing to bet that the only changes in those files are related to
> the VM system changes and that there are no other -ac related changes in
> those files due to the other ac changes? without someone who really
> understands the rik VM I wouldn't trust breaking them out of the -ac
> tree and the same thing goes for the aa VM and the linus tree (to add that
> into the ac tree)
>
> as I see it this requires a few steps.
>
> 1. linus and alan agree to implement such a thing (which includes
> alanbeing willing to track the appropriate differences)
My advice is: don't try to waste Linus's or Alan's time on this. Just make
the patch, it isn't that hard. Just post it, and if you get it partly wrong
Rik and/or Andrea will be sure to tell you.
> 2. rik and/or aa and/or alan seperate out the rik VM from the ac tree and
> submit it to linus.
>
> 3. rik and/or aa and/or alan seperate out the aa VM from the linus tree
> and submit it to alan.
>
> it's a lot of work to get it setup this way, and it does duplicate a bunch
> of files that could get out of sync if not carefully managed but it's
> about the only way that I can see people able to test just the different
> VM systems.
So why are you asking developers who have plenty of other things to do, to do
that work?
> now if one of the above four states that there are files (or directories)
> that are only the VM system and it is as simple as swapping out everything
> in those files between the linus and ac trees then steps 2&3 get much
> simpler.
Do it whatever way you want, that's why you have the source. I'd suggest
'diff', starting with the files in Andrea's list. Then edit the patch by
hand, removing the chunks that obviously aren't related.
--
Daniel
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 18:00 ` VM Mike Fedyk
2001-10-22 17:32 ` VM Marcelo Tosatti
2001-10-22 18:59 ` VM Daniel Phillips
@ 2001-10-22 20:21 ` Alan Cox
2 siblings, 0 replies; 59+ messages in thread
From: Alan Cox @ 2001-10-22 20:21 UTC (permalink / raw)
To: Mike Fedyk; +Cc: Alan Cox, Michael T. Babcock, Linux Kernel
> > Too ugly for words.
>
> Though, if it's done from the start of 2.5, it could be very possible. Is
> there a way to make it non-ugly?
I would hope by then we have a definitive answer as to the best path in the
VM world
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-22 14:02 ` VM Alan Cox
2001-10-22 18:00 ` VM Mike Fedyk
@ 2001-10-22 22:35 ` J . A . Magallon
1 sibling, 0 replies; 59+ messages in thread
From: J . A . Magallon @ 2001-10-22 22:35 UTC (permalink / raw)
To: Alan Cox; +Cc: Michael T . Babcock, Linux Kernel
On 20011022 Alan Cox wrote:
>> I have never done this comparison myself, but I was wondering how ugly
>> it would be if stable versions of Andrea's and Rik's VMs were both
>> available in your/Linus' kernel as compile-time options. Assuming that
>> each provides better performance under certain conditions, wouldn't
>
>Too ugly for words.
>-
and how about a CONFIG_ ?? So -ac patch size will become manageable again.
--
J.A. Magallon # Let the source be with you...
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.12-ac5-beo #1 SMP Mon Oct 22 02:05:06 CEST 2001 i686
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
@ 2001-10-17 7:55 Leeuw van der, Tim
2001-10-17 11:08 ` VM Liu Tao
0 siblings, 1 reply; 59+ messages in thread
From: Leeuw van der, Tim @ 2001-10-17 7:55 UTC (permalink / raw)
To: 'lkm'
I've tried more-or-less comparable desktop workloads on various
kernel-versions.
So far my conclusion is that for desktops, the VM in the recent -ac kernels
is worst, the VM in Linus's recent kernels is much better for the desktop,
but that the kernel with the smoothest operation on the desktop is:
2.4.4ac8
(There are several 2.4.4-ac kernels with identical VM just I happen to have
this one installed as a sort of backup)
This is a really old kernel, and I know that there were problems with that
VM version under certain loads. Still, the fact that it performs well is
perhaps an interesting datapoint.
I don't know if problems in the 2.4.4-ac8 VM can be killed without also
killing the performance?
The tested load is:
- Compiling kernel
- Browsing web with Mozilla or Galeon
- Opening Evolution and looking at mail
- Editing files with XEmacs
My criteria were speed of opening new big applications when another big
application is running and compiling at the same time, how useable the
system is while the application starts up, how quickly and smoothly I can
switch from one app. to the other.
All of these are of course highly subjective criteria.
I'm not interested in audio, so I didn't do any tests for smoothness of
playing sound while doing any of these things.
Next weekend I hope to have time to give the VM's another try; this time
I'll apply relevant Rik's patches to the -ac kernel too.
My PC has 64MB of RAM and some slow IDE disks (tuned with DMA and -u 1), and
a 200MHz MMX P1
--Tim
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
@ 2001-10-17 2:31 Marcelo Roberto Jimenez
0 siblings, 0 replies; 59+ messages in thread
From: Marcelo Roberto Jimenez @ 2001-10-17 2:31 UTC (permalink / raw)
To: linux-kernel
Folks,
Let's stop talking :-) and let's generate some numbers for comparison.
Rik, Andrea, why don't you describe a procedure to generate the numbers for comparison? I have both kernels installed on my machine, so it's easy for me to compare under different loads.
Of couse, I'm new to this stuff, forgive my ignorance :-)
Regards,
Marcelo.
^ permalink raw reply [flat|nested] 59+ messages in thread
[parent not found: <E7405EE40489D411B30F00508BF38F8D049677E2@wlvexc01.diginsite.com>]
* Re: VM
[not found] <E7405EE40489D411B30F00508BF38F8D049677E2@wlvexc01.diginsite.com>
@ 2001-10-16 16:44 ` David Lang
2001-10-16 18:11 ` VM Rik van Riel
0 siblings, 1 reply; 59+ messages in thread
From: David Lang @ 2001-10-16 16:44 UTC (permalink / raw)
To: safemode; +Cc: linux-kernel
the previous non-Rik VM kernel (other then the current linus tree) is the
2.2 kernels, and they are lacking a LOT of features that are in 2.4
it's not a case of wanting to run 2.4.latest on production, it's a matter
of wanting to run 2.4.anything on production. currently this is a serious
problem to do becouse the VM system has not been stable and predictable
enough to be trusted. there have been to many cases of people putting 2.4
on a production system and it slowing to a crawl when the real production
load hits.
when 2.4 works it is FAR better then 2.2 and it has features not available
on 2.2, but with the Rik VM (versions that were in the linus kernels up
through 2.4.9) it has not reliably worked. running 2.4 is not supposed to
be bleading edge, it's supposed to be the stable kernel series (although
you do have to wait a few days after a kernel is released to avoid paper
bag bugs :-)
if we want a kernel series that should not be used in production servers
we need to get 2.4 stable enough to be used there and then we can open the
2.5 series
David Lang
On Tue, 16 Oct 2001, safemode wrote:
<SNIP>
> People who use the latest 2.4.x kernel aren't running critical servers,
> rebooting back to their previous non-Rik vm kernel wont be much of an issue.
> It wont "break" anything, rather just be better or worse performance wise.
> If you can afford to reboot to upgrade to the latest 2.4.x, you can afford to
> reboot to move back to your backup kernel.
> Makeing a standard way of testing "real world" things is bad. Real world
> tests are unlimited and thus can be very hard to recreate but with this way
> you can actually see the "special" cases that become more apparent when more
> users use the kernel much earlier. This would be the same as your statement
> above about releasing a bad kernel onto the public as a stable kernel. If
> you tune to a standard real world test that some people come up with, then
> you are no longer tuning for the real world since you lose that
> unpredictability that real users can enter into the equation.
>
> Like i said before, tests are a lose lose situation, if you dont do them you
> release code unto the world that is well, untested. If you do them, then
> you're tuning for your test and not the real world and you have people saying
> that the test is invalid or biased. Well, so far not using a test is out of
> the question and Both VM's certainly get their round of testing, the
> contraversy with that is what tests are important in the real world. Figure
> that out and maybe you'll get somewhere with figuring out which VM is better
> for everyone. If you manage to convince everyone that those tests are
> important to the real world, you're probably writing the code and/or a
> god-like being.
>
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 16:44 ` VM David Lang
@ 2001-10-16 18:11 ` Rik van Riel
2001-10-16 22:31 ` VM Luigi Genoni
0 siblings, 1 reply; 59+ messages in thread
From: Rik van Riel @ 2001-10-16 18:11 UTC (permalink / raw)
To: David Lang; +Cc: safemode, linux-kernel
On Tue, 16 Oct 2001, David Lang wrote:
> when 2.4 works it is FAR better then 2.2 and it has features not
> available on 2.2, but with the Rik VM (versions that were in the linus
> kernels up through 2.4.9) it has not reliably worked.
Note that Linus hasn't been up to date on my VM since
about 2.4.5. And before you blame me for not sending
patches, I did send them but Linus didn't apply them
for unknown reasons.
The VM in Alan's kernel pretty much has been the only
option for a reliable 2.4 kernel since 2.4.7.
regards,
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 18:11 ` VM Rik van Riel
@ 2001-10-16 22:31 ` Luigi Genoni
0 siblings, 0 replies; 59+ messages in thread
From: Luigi Genoni @ 2001-10-16 22:31 UTC (permalink / raw)
To: Rik van Riel; +Cc: David Lang, safemode, linux-kernel
On Tue, 16 Oct 2001, Rik van Riel wrote:
> On Tue, 16 Oct 2001, David Lang wrote:
>
> > when 2.4 works it is FAR better then 2.2 and it has features not
> > available on 2.2, but with the Rik VM (versions that were in the linus
> > kernels up through 2.4.9) it has not reliably worked.
>
> Note that Linus hasn't been up to date on my VM since
> about 2.4.5. And before you blame me for not sending
> patches, I did send them but Linus didn't apply them
> for unknown reasons.
>
2.4.5 had a little showstopper problem with iommu, and so my old E 3500
was really suffering with it.
As you know, VM performances are not the first priority for some servers,
while they are for desktops and for servers used for computational
simulations. But right now, definitelly, we are not at the point we copuld
care of 5% faster or slower. What we do care right now is to have a VM
that works for the jobs we need to be done. Belive me, that is a good
thing, and this also explain why people write that the VM is great, and
other that the VM is a disaster.
Sometimes I do not understand Linus decisions, but history showed he is
Linus and I am a simple Sysadmin who trys to give his contrib.
I am not arguing your VM was overdesigned, and to be honest I simply do
not think so.
One thing that should be took in account is that your VM
in ac tree before 2.4.9acX was behaving better on sparc64 than x86
processors. Belive me i stressed a ultra5 (400 Mhz sparc64 processor 512
Megabyte of RAM) with a 2.4.8ac(not remember exactly) kernel, and it was
stable under a very high load.
A mutch faster Athlon 1000 Mhz, with same amount of faster memory, and
same UDMA66 disk, showed a suffering VM even not being equally
stressed.
maybe your approach was better working on this kind of architecture. (I am
sorry I could not test some mips).
On the other side your VM has some behavious that remembers me of my old
AIX times :). (you know I tend to be a bit nostalgic).
On the other side, AA VM (2.4.13-pre3aa1) is exactly what I need on my
webservers. You VM is more effective on a higly stressed server running
hundreds of eavty and memory intensive simulations on it (and also in
this case, I do not care it to be the fastest, but it has to be adle to
bring simulations to work properly).
That brings me to the point I made in my previous post.
If you remember the oops I sended you a lot of months ago with 2.4.3,
it was related to a server that had not to be fast, but had to reach years
of uptime.
When i think to desktops, I change my mind, they have to be as faster as
possible.
Linux does work on any kind of CPU, from a domain on SUN E 10000, to a 386
sx 25Mhz, and potentially it can be used for everything. This brings a
critical complexity to the VM, and this makes development difficoult.
This is a situation we must deal with.
Luigi
^ permalink raw reply [flat|nested] 59+ messages in thread
* VM
@ 2001-10-16 1:12 Patrick McFarland
2001-10-16 0:53 ` VM David Lang
` (2 more replies)
0 siblings, 3 replies; 59+ messages in thread
From: Patrick McFarland @ 2001-10-16 1:12 UTC (permalink / raw)
To: linux-kernel
Linus, this question is really to you...
Why is the simple vm system still in place on the linus tree? I would think the smart vm system in the ac tree would be better suited to .. oh.. say .. everything. (The potential for less swapping is _always better_)
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 1:12 VM Patrick McFarland
@ 2001-10-16 0:53 ` David Lang
2001-10-16 12:28 ` VM John Levon
2001-10-16 1:57 ` VM Linus Torvalds
2001-10-16 8:08 ` VM Alan Cox
2 siblings, 1 reply; 59+ messages in thread
From: David Lang @ 2001-10-16 0:53 UTC (permalink / raw)
To: Patrick McFarland; +Cc: linux-kernel
from an interested bystander here's how I see it
much of the time the -ac VM is better, but sometimes it is MUCH worse.
It's performance can vary substantually even while running the same test.
the linux VM may not be as fast in some cases, but it is far more
predictable and repeatable, and doesn't have the same horrible 'worst
case' performance that has been the bane of the 2.4 kernels.
say for the sake of argument that the linus VM is only 80% as good as the
-ac VM. but the -ac VM has pathalogical conditions that hit is 5% of the
time (both numbers out of thin air, I'm sure that aa would argue that it's
better then the 80% and Rik would argue that it's less then 5% :-)
we're late in the 2.4 series, stability and predictability is better then
raw performance. the 5% pathalogical problem is bad enough to make that VM
unsuatable for many machines (and worse the conditions that trigger it
aren't well understood making it untrustworthy for a much larger group of
machines) while the slight performance hit on the 80% as good is much
easier to deal with (buy a faster disk or more ram)
I have been impressed by the repeatability shown by the linus VM system
and have just been waiting for the last of the gotchas to be hammered out
before switching my production machines from 2.4.5 to a newer kernel.
David Lang
On Mon, 15
Oct 2001, Patrick McFarland wrote:
> Date: Mon, 15 Oct 2001 21:12:18 -0400
> From: Patrick McFarland <unknown@panax.com>
> To: linux-kernel@vger.kernel.org
> Subject: VM
>
> Linus, this question is really to you...
>
> Why is the simple vm system still in place on the linus tree? I would think the smart vm system in the ac tree would be better suited to .. oh.. say .. everything. (The potential for less swapping is _always better_)
>
> --
> Patrick "Diablo-D3" McFarland || unknown@panax.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 0:53 ` VM David Lang
@ 2001-10-16 12:28 ` John Levon
2001-10-16 12:34 ` VM Tobias Ringstrom
2001-10-16 16:17 ` VM David Lang
0 siblings, 2 replies; 59+ messages in thread
From: John Levon @ 2001-10-16 12:28 UTC (permalink / raw)
To: linux-kernel
On Mon, Oct 15, 2001 at 05:53:32PM -0700, David Lang wrote:
> before switching my production machines from 2.4.5 to a newer kernel.
running such an old kernel does not give a fair comparison. Personally I've
found the /current/ ac VM to be stable and give slightly smoother feel than
the linus tree VM.
regards
john
--
"I hear you have four hundred and eighty six PCs for sale ?"
- Some Fool
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 12:28 ` VM John Levon
@ 2001-10-16 12:34 ` Tobias Ringstrom
2001-10-16 16:17 ` VM David Lang
1 sibling, 0 replies; 59+ messages in thread
From: Tobias Ringstrom @ 2001-10-16 12:34 UTC (permalink / raw)
To: John Levon; +Cc: linux-kernel
On Tue, 16 Oct 2001, John Levon wrote:
> On Mon, Oct 15, 2001 at 05:53:32PM -0700, David Lang wrote:
>
> > before switching my production machines from 2.4.5 to a newer kernel.
>
> running such an old kernel does not give a fair comparison. Personally I've
> found the /current/ ac VM to be stable and give slightly smoother feel than
> the linus tree VM.
Are you comparing with post 2.4.10 Linus kernels?
/Tobias
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 12:28 ` VM John Levon
2001-10-16 12:34 ` VM Tobias Ringstrom
@ 2001-10-16 16:17 ` David Lang
1 sibling, 0 replies; 59+ messages in thread
From: David Lang @ 2001-10-16 16:17 UTC (permalink / raw)
To: John Levon; +Cc: linux-kernel
I'm not doing a comparison of the VM in 2.4.5 and the newer kernels, I'm
saying that based on the reports I have been seeing here I have not been
willing to risk moving to a newer kernel becouse I couldn't trust the VM
not to give me problems on my production boxes. the 2.4.5 has it's
problems, but they are survivable (except on one box which I had to
remove)
it's not a direct comparison of the kernels, it's a matter of being able
to trust that the new kernel won't hang me out to dry under load. (and I
am one of the many people out here who doesn't have the ability to
simulate the load before going into production)
David Lang
On Tue, 16 Oct 2001, John Levon wrote:
> Date: Tue, 16 Oct 2001 13:28:51 +0100
> From: John Levon <moz@compsoc.man.ac.uk>
> To: linux-kernel@vger.kernel.org
> Subject: Re: VM
>
> On Mon, Oct 15, 2001 at 05:53:32PM -0700, David Lang wrote:
>
> > before switching my production machines from 2.4.5 to a newer kernel.
>
> running such an old kernel does not give a fair comparison. Personally I've
> found the /current/ ac VM to be stable and give slightly smoother feel than
> the linus tree VM.
>
> regards
> john
>
> --
> "I hear you have four hundred and eighty six PCs for sale ?"
> - Some Fool
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 1:12 VM Patrick McFarland
2001-10-16 0:53 ` VM David Lang
@ 2001-10-16 1:57 ` Linus Torvalds
2001-10-16 3:08 ` VM Patrick McFarland
` (2 more replies)
2001-10-16 8:08 ` VM Alan Cox
2 siblings, 3 replies; 59+ messages in thread
From: Linus Torvalds @ 2001-10-16 1:57 UTC (permalink / raw)
To: linux-kernel
In article <20011015211216.A1314@localhost>,
Patrick McFarland <unknown@panax.com> wrote:
>
>Why is the simple vm system still in place on the linus tree? I would
think the smart vm system in the ac tree would be better suited to ..
oh.. say .. everything.
"complex" != "smart".
The benchmarks I've seen says that the simple VM performs better - both
in terms of repeatability and in terms of absolute performance. Search
this list yourself if you don't believe me.
Linus
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 1:57 ` VM Linus Torvalds
@ 2001-10-16 3:08 ` Patrick McFarland
2001-10-16 3:15 ` VM Robert Love
` (3 more replies)
2001-10-16 8:14 ` VM Anuradha Ratnaweera
2001-10-16 13:51 ` VM Bill Davidsen
2 siblings, 4 replies; 59+ messages in thread
From: Patrick McFarland @ 2001-10-16 3:08 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
reading what lang wrote, ive been thinking
Im on the type of machine that swapping the least is most favorable. rik's vm seems that it would be able to swap less, and not swap the wrong things enough of the time. andrea's, if i try to do something major, it swaps like crazy, but I havent tested rik's because I dont trust the rest of the ac tree to mess around with it. Is there any chance of rik's vm being atleast an option to choose, and possibly see what the community wants? Maybe if rik's vm is cleaned up, that 5% of stupidity would go down to the less than 1% we all hope for.
On 16-Oct-2001, Linus Torvalds wrote:
> In article <20011015211216.A1314@localhost>,
> Patrick McFarland <unknown@panax.com> wrote:
> >
> >Why is the simple vm system still in place on the linus tree? I would
> think the smart vm system in the ac tree would be better suited to ..
> oh.. say .. everything.
>
> "complex" != "smart".
>
> The benchmarks I've seen says that the simple VM performs better - both
> in terms of repeatability and in terms of absolute performance. Search
> this list yourself if you don't believe me.
>
> Linus
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 3:08 ` VM Patrick McFarland
@ 2001-10-16 3:15 ` Robert Love
2001-10-16 3:17 ` VM Patrick McFarland
2001-10-16 3:15 ` VM Patrick McFarland
` (2 subsequent siblings)
3 siblings, 1 reply; 59+ messages in thread
From: Robert Love @ 2001-10-16 3:15 UTC (permalink / raw)
To: Patrick McFarland; +Cc: linux-kernel
On Mon, 2001-10-15 at 23:08, Patrick McFarland wrote:
> Im on the type of machine that swapping the least is most favorable. rik's vm
> seems that it would be able to swap less, and not swap the wrong things enough
> of the time. andrea's, if i try to do something major, it swaps like crazy,
> but I havent tested rik's because I dont trust the rest of the ac tree to mess
> around with it. Is there any chance of rik's vm being atleast an option to
> choose, and possibly see what the community wants? Maybe if rik's vm is
> cleaned up, that 5% of stupidity would go down to the less than 1% we all
> hope for.
There really is nothing to fear in Alan's tree. Give it a tree. In
fact, I view Alan as more stable (or at least, less experimental) at
this stage in the game.
Robert Love
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 3:15 ` VM Robert Love
@ 2001-10-16 3:17 ` Patrick McFarland
[not found] ` <1003202417.861.6.camel@phantasy>
0 siblings, 1 reply; 59+ messages in thread
From: Patrick McFarland @ 2001-10-16 3:17 UTC (permalink / raw)
To: Robert Love; +Cc: linux-kernel
May I ask, why do you think so?
On 15-Oct-2001, Robert Love wrote:
> On Mon, 2001-10-15 at 23:08, Patrick McFarland wrote:
>
> > Im on the type of machine that swapping the least is most favorable. rik's vm
> > seems that it would be able to swap less, and not swap the wrong things enough
> > of the time. andrea's, if i try to do something major, it swaps like crazy,
> > but I havent tested rik's because I dont trust the rest of the ac tree to mess
> > around with it. Is there any chance of rik's vm being atleast an option to
> > choose, and possibly see what the community wants? Maybe if rik's vm is
> > cleaned up, that 5% of stupidity would go down to the less than 1% we all
> > hope for.
>
> There really is nothing to fear in Alan's tree. Give it a tree. In
> fact, I view Alan as more stable (or at least, less experimental) at
> this stage in the game.
>
> Robert Love
>
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 3:08 ` VM Patrick McFarland
2001-10-16 3:15 ` VM Robert Love
@ 2001-10-16 3:15 ` Patrick McFarland
2001-10-16 10:26 ` VM Stephan von Krawczynski
2001-10-16 23:24 ` VM Andrea Arcangeli
3 siblings, 0 replies; 59+ messages in thread
From: Patrick McFarland @ 2001-10-16 3:15 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
also considering more stuff,
someone said that this is more of a political issue, but seeing that I stay out of political issues, Im looking for the better code here. Thats all I care about.
On 15-Oct-2001, Patrick McFarland wrote:
> reading what lang wrote, ive been thinking
>
> Im on the type of machine that swapping the least is most favorable. rik's vm seems that it would be able to swap less, and not swap the wrong things enough of the time. andrea's, if i try to do something major, it swaps like crazy, but I havent tested rik's because I dont trust the rest of the ac tree to mess around with it. Is there any chance of rik's vm being atleast an option to choose, and possibly see what the community wants? Maybe if rik's vm is cleaned up, that 5% of stupidity would go down to the less than 1% we all hope for.
>
> On 16-Oct-2001, Linus Torvalds wrote:
> > In article <20011015211216.A1314@localhost>,
> > Patrick McFarland <unknown@panax.com> wrote:
> > >
> > >Why is the simple vm system still in place on the linus tree? I would
> > think the smart vm system in the ac tree would be better suited to ..
> > oh.. say .. everything.
> >
> > "complex" != "smart".
> >
> > The benchmarks I've seen says that the simple VM performs better - both
> > in terms of repeatability and in terms of absolute performance. Search
> > this list yourself if you don't believe me.
> >
> > Linus
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
> --
> Patrick "Diablo-D3" McFarland || unknown@panax.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Patrick "Diablo-D3" McFarland || unknown@panax.com
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 3:08 ` VM Patrick McFarland
2001-10-16 3:15 ` VM Robert Love
2001-10-16 3:15 ` VM Patrick McFarland
@ 2001-10-16 10:26 ` Stephan von Krawczynski
2001-10-16 23:38 ` VM Andrea Arcangeli
2001-10-16 23:24 ` VM Andrea Arcangeli
3 siblings, 1 reply; 59+ messages in thread
From: Stephan von Krawczynski @ 2001-10-16 10:26 UTC (permalink / raw)
To: Patrick McFarland; +Cc: linux-kernel
On Mon, 15 Oct 2001 23:08:38 -0400 Patrick McFarland <unknown@panax.com> wrote:
> reading what lang wrote, ive been thinking
>
> Im on the type of machine that swapping the least is most favorable. rik's vm
seems that it would be able to swap less, and not swap the wrong things enough
of the time.
Well, I cannot really comment on who does what based on the code. But I can see
the results on my machine(s). And what I see is that the current linus-tree
does not swap at all in my environment. Maybe one could say that 1 GB of RAM is
a bit oversized for most of my business, but anyway the point I started
complaining real loud about the former VM (now residing at -ac tree) was when
it came to the point where even my system started to become unusable. I am
therefore _very_ thankful to L. that he drew the line (who else could _and_
would have done it?), and Andrea of course for his work. I do not think that
Riks work is a piece of bs, really not, but it seems to have an inherent
complexity that is _very_ hard to handle. It may well be the proof for the
"keep it simple"-strategy to deliver the best results.
Anyway we should not see it as a political issue, but a friendly competition.
Because in the end, we all want the same: a system we can trust and rely on.
There is nothing wrong with having different opinions as long as you can give
_some_ proof for it. So if you say current -linus tree does more swapping,
please give us some numbers to have a look at.
Regards,
Stephan
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 10:26 ` VM Stephan von Krawczynski
@ 2001-10-16 23:38 ` Andrea Arcangeli
2001-10-17 0:49 ` VM Rik van Riel
0 siblings, 1 reply; 59+ messages in thread
From: Andrea Arcangeli @ 2001-10-16 23:38 UTC (permalink / raw)
To: Stephan von Krawczynski; +Cc: Patrick McFarland, linux-kernel
On Tue, Oct 16, 2001 at 12:26:27PM +0200, Stephan von Krawczynski wrote:
> On Mon, 15 Oct 2001 23:08:38 -0400 Patrick McFarland <unknown@panax.com> wrote:
>
> > reading what lang wrote, ive been thinking
> >
> > Im on the type of machine that swapping the least is most favorable. rik's vm
> seems that it would be able to swap less, and not swap the wrong things enough
> of the time.
>
> Well, I cannot really comment on who does what based on the code. But I can see
> the results on my machine(s). And what I see is that the current linus-tree
> does not swap at all in my environment. Maybe one could say that 1 GB of RAM is
I was also surprised that mainline was swapping more, it shouldn't
really be the case. Infact in 2.4.13pre3aa1 I'm using shrink_cache to
probe when it's time to start paging, instead of waiting shrink_cache to
fail, this to avoid being too aggressive against the cache. So with
those recent changes it should start swapping earlier and it should swap
more. But if it's now swapping too much it will be very easy to turn it
down the swap rate as worse with a few liner that removes such
cache-probe early-swap logic.
Andrea
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 23:38 ` VM Andrea Arcangeli
@ 2001-10-17 0:49 ` Rik van Riel
2001-10-17 1:15 ` VM Andrea Arcangeli
0 siblings, 1 reply; 59+ messages in thread
From: Rik van Riel @ 2001-10-17 0:49 UTC (permalink / raw)
To: Andrea Arcangeli; +Cc: Stephan von Krawczynski, Patrick McFarland, linux-kernel
On Wed, 17 Oct 2001, Andrea Arcangeli wrote:
> I was also surprised that mainline was swapping more, it shouldn't
> really be the case. Infact in 2.4.13pre3aa1 I'm using shrink_cache to
> probe when it's time to start paging, instead of waiting shrink_cache to
> fail, this to avoid being too aggressive against the cache. So with
> those recent changes it should start swapping earlier and it should swap
> more. But if it's now swapping too much it will be very easy to turn it
> down the swap rate as worse with a few liner that removes such
> cache-probe early-swap logic.
This is exactly why I am so religious about page aging
on objects which are being used. With just the referenced
bit you'll end up almost needing code tweaks to make the
system behave well under various different loads.
The VM just doesn't have the information it needs to
determine what to do...
regards,
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-17 0:49 ` VM Rik van Riel
@ 2001-10-17 1:15 ` Andrea Arcangeli
0 siblings, 0 replies; 59+ messages in thread
From: Andrea Arcangeli @ 2001-10-17 1:15 UTC (permalink / raw)
To: Rik van Riel; +Cc: Stephan von Krawczynski, Patrick McFarland, linux-kernel
On Tue, Oct 16, 2001 at 10:49:28PM -0200, Rik van Riel wrote:
> The VM just doesn't have the information it needs to
> determine what to do...
additional page aging cannot make it different as far I can tell.
The twekaing I'm speaking about is a number. After probing the cache and
after getting many faliures I need to choose when it's time to start
the pagetable scanning. Additional bit of aging can only influence the number of
faliures, I cannot see how can it help to know when to start the
pagetable scanning. It's a _ratio_ between the faliures and the size of
the scan that tells me when it's the time. You need the same logic too
somewhere in -ac vm. Now if I turn the ratio very high the cache will
shrink more before we start pagetable scanning. If I make it low we'll
swapout very easily. This ratio doesn't need to be perfect, it will
never trigger anyways most of the time, but it must be a sane number,
and it can make some difference during swapout.
Andrea
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 3:08 ` VM Patrick McFarland
` (2 preceding siblings ...)
2001-10-16 10:26 ` VM Stephan von Krawczynski
@ 2001-10-16 23:24 ` Andrea Arcangeli
3 siblings, 0 replies; 59+ messages in thread
From: Andrea Arcangeli @ 2001-10-16 23:24 UTC (permalink / raw)
To: Patrick McFarland; +Cc: Linus Torvalds, linux-kernel
On Mon, Oct 15, 2001 at 11:08:38PM -0400, Patrick McFarland wrote:
> reading what lang wrote, ive been thinking
>
> Im on the type of machine that swapping the least is most favorable.
> rik's vm seems that it would be able to swap less, and not swap the
> wrong things enough of the time. andrea's, if i try to do something
> major, it swaps like crazy, but I havent tested rik's because I dont
strance if something it should swap less. It may look less responsive
under swap but that's mostly because we swap less and we drop more cache
instead.
Infact if you test 2.4.13pre3aa1 it should swap more and also be
more responsive under swap.
Andrea
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 1:57 ` VM Linus Torvalds
2001-10-16 3:08 ` VM Patrick McFarland
@ 2001-10-16 8:14 ` Anuradha Ratnaweera
2001-10-16 13:36 ` VM Luigi Genoni
2001-10-16 13:51 ` VM Bill Davidsen
2 siblings, 1 reply; 59+ messages in thread
From: Anuradha Ratnaweera @ 2001-10-16 8:14 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
On Tue, Oct 16, 2001 at 01:57:41AM +0000, Linus Torvalds wrote:
>
> oh.. say .. everything.
>
> "complex" != "smart".
and almost always
"simple" == "better"
Anuradha
--
Debian GNU/Linux (kernel 2.4.12)
Absolutum obsoletum. (If it works, it's out of date.)
-- Stafford Beer
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 8:14 ` VM Anuradha Ratnaweera
@ 2001-10-16 13:36 ` Luigi Genoni
2001-10-16 14:04 ` VM bill davidsen
` (2 more replies)
0 siblings, 3 replies; 59+ messages in thread
From: Luigi Genoni @ 2001-10-16 13:36 UTC (permalink / raw)
To: Anuradha Ratnaweera; +Cc: Linus Torvalds, linux-kernel
I used bot VM in many situations and with many different HWs.
I came to the conclusion that actually none of the two VMs is suitable
for every use.
aa VM deals better because of its design on my web servers, with a non
eccessive amount of memory, and with mysql and oracle databases.
When I talk of AA vm i mean the 2.4.13preXaa1 versions.
Unfortunatelly I have also found a problem with
some situations when the VM is higly stressed, but Andrea was very kind to
this report, and now I hope it has gone away (will test this afternoon).
aa VM was also good with dualAthlon servers used for montecarlo
simulations, but also here, VM was not really stressed, and the system has
just 1 GB of RAM.
Rik VM in its later version is dealing better with Ultrasparc64
quadriprocessor with 4 GB RAM. But in this case we are talking of very
very stressed system, with hundreds of huge processes, doing a lot of swap
in/out, and with 8 GB swap space.
I am just sorry that i have access to this machine just from times to
times, when a critical problem appears, but this is a production server.
The reason is the aa VM is more predictable, but rik's one actually
seems to be smarter under very very stressed situations.
I do not care which VM is simpler, nor which is faster. I loock for
predictability, since this is the most important thing on the servers I am
administering. Under a special situation I need something maybe less
predictable, but smarter to manage a stressed system.
80%... 5%... I do not care for exact numbers actually, I will care in
future, if the situation comes to the point that both VMs will be quite
good for everything. anyway it is a good strategy to follow two different
way, since they are progressing quite welll together, with competition,
and also (I hope) reciprocal help (just to be able to read the code of the
other is a good help:) ).
Just now I am sorry I have to deal with this choice for every mission
critical server I have. I would like a single VM that is good for
everything, but I understand that this is the most difficoult thing to
reach, because the casistinc is going to be more and more complex, with
technology evolution, and
with time it will be even worse.
Luigi
On Tue, 16 Oct 2001, Anuradha Ratnaweera wrote:
> On Tue, Oct 16, 2001 at 01:57:41AM +0000, Linus Torvalds wrote:
> >
> > oh.. say .. everything.
> >
> > "complex" != "smart".
>
> and almost always
>
> "simple" == "better"
>
> Anuradha
>
> --
>
> Debian GNU/Linux (kernel 2.4.12)
>
> Absolutum obsoletum. (If it works, it's out of date.)
> -- Stafford Beer
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 59+ messages in thread* Re: VM
2001-10-16 13:36 ` VM Luigi Genoni
@ 2001-10-16 14:04 ` bill davidsen
2001-10-16 14:11 ` VM Rik van Riel
2001-10-16 14:41 ` VM Martin Dalecki
2 siblings, 0 replies; 59+ messages in thread
From: bill davidsen @ 2001-10-16 14:04 UTC (permalink / raw)
To: linux-kernel
In article <Pine.LNX.4.33.0110161503300.17096-100000@Expansa.sns.it>
kernel@Expansa.sns.it wrote:
>I used bot VM in many situations and with many different HWs.
>I came to the conclusion that actually none of the two VMs is suitable
>for every use.
>aa VM deals better because of its design on my web servers, with a non
>eccessive amount of memory, and with mysql and oracle databases.
>I do not care which VM is simpler, nor which is faster. I loock for
>predictability, since this is the most important thing on the servers I am
>administering. Under a special situation I need something maybe less
>predictable, but smarter to manage a stressed system.
>
>80%... 5%... I do not care for exact numbers actually, I will care in
>future, if the situation comes to the point that both VMs will be quite
>good for everything. anyway it is a good strategy to follow two different
>way, since they are progressing quite welll together, with competition,
>and also (I hope) reciprocal help (just to be able to read the code of the
>other is a good help:) ).
Very well said. And I might add that some input from people with small
desktop machines might be useful to the developers, since I doubt they
are running small slow machines. While I wouldn't compromise big memory
performance (much) for small, one beauty of Linux is that it will run
well on small machines.
Of course it may be that some other VM will prove to be bnetter than
either, but hopefully not until 2.5. I'd still like to see VM in a
module and then everyone could play with their pet theory;-)
--
bill davidsen <davidsen@tmr.com>
"If I were a diplomat, in the best case I'd go hungry. In the worst
case, people would die."
-- Robert Lipe
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 13:36 ` VM Luigi Genoni
2001-10-16 14:04 ` VM bill davidsen
@ 2001-10-16 14:11 ` Rik van Riel
2001-10-16 14:41 ` VM Martin Dalecki
2 siblings, 0 replies; 59+ messages in thread
From: Rik van Riel @ 2001-10-16 14:11 UTC (permalink / raw)
To: Luigi Genoni; +Cc: Anuradha Ratnaweera, Linus Torvalds, linux-kernel
On Tue, 16 Oct 2001, Luigi Genoni wrote:
> The reason is the aa VM is more predictable, but rik's one actually
> seems to be smarter under very very stressed situations.
This is a different approach to the situation. Most of the
time in the early 2.4 kernels we were much too busy to stop
machines from crashing to care about performance.
Only in more recent -ac kernels have I actually had time to
look at performance and it seems to be relatively easy to
get the VM to perform better.
Andrea seems to have optimised his VM for performance under
low to medium loads from the beginning ... but in Linux 2.2
we've seen how impossible it is to tune such a simplistic
VM to not fall apart under very high loads, so I won't be
going that way ;)
regards,
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed)
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 13:36 ` VM Luigi Genoni
2001-10-16 14:04 ` VM bill davidsen
2001-10-16 14:11 ` VM Rik van Riel
@ 2001-10-16 14:41 ` Martin Dalecki
2 siblings, 0 replies; 59+ messages in thread
From: Martin Dalecki @ 2001-10-16 14:41 UTC (permalink / raw)
To: Luigi Genoni; +Cc: Anuradha Ratnaweera, Linus Torvalds, linux-kernel
Luigi Genoni wrote:
>
> I used bot VM in many situations and with many different HWs.
> I came to the conclusion that actually none of the two VMs is suitable
> for every use.
> aa VM deals better because of its design on my web servers, with a non
> eccessive amount of memory, and with mysql and oracle databases.
>
> When I talk of AA vm i mean the 2.4.13preXaa1 versions.
>
> Unfortunatelly I have also found a problem with
> some situations when the VM is higly stressed, but Andrea was very kind to
> this report, and now I hope it has gone away (will test this afternoon).
>
> aa VM was also good with dualAthlon servers used for montecarlo
> simulations, but also here, VM was not really stressed, and the system has
> just 1 GB of RAM.
>
> Rik VM in its later version is dealing better with Ultrasparc64
> quadriprocessor with 4 GB RAM. But in this case we are talking of very
> very stressed system, with hundreds of huge processes, doing a lot of swap
> in/out, and with 8 GB swap space.
> I am just sorry that i have access to this machine just from times to
> times, when a critical problem appears, but this is a production server.
>
> The reason is the aa VM is more predictable, but rik's one actually
> seems to be smarter under very very stressed situations.
>
> I do not care which VM is simpler, nor which is faster. I loock for
> predictability, since this is the most important thing on the servers I am
> administering. Under a special situation I need something maybe less
> predictable, but smarter to manage a stressed system.
OK so let me bite now... If you look for predictability, then see:
Rik's page aging mechanism based VM went in short before 2.4.0 time.
Several months ago... Conceptually it was supposed to be a clone of
FreeBSD's memmory management system. However Rik overdesigned it
entierly. He inventen useless and far too many "tuning knobs".
And everybody should known that optimizations get really hard with
more then very few parameters. (Becouse even the math behind it get's
trully
complicated ;-) The situation until recently was
entierly inacceptable becouse the inadequacies of the VM where
blatant. No ORACLE running, no X session on lower memmory and so on and
so
on. Maybe by now he reached some level of stability, (by trail and error
if
you ask me), but please see that it only took 2 kernel release cycles
until Andreas efforts showed fruits at least comparable (and in my
oppinnion much suprerior) to what can be currently seen in the ac series
in regard
of memmory management. This still holds even if you take into account
that Linus and AA both went a bit wild with the IO system redesign.
Don't missunderstand me please I appreciate those changes as well
becouse
I see that they are finally addressing block device handling problems
I'm complaining about since 2 years regularly here and which are
artefact from the youngest days of Linux.
So if you look at this history and see what's going on the conculsion is
easly found: The chances are indeed very high that the behaviour of the
Linus tree is much more predictable ;-). (In the VM context of course.)
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 1:57 ` VM Linus Torvalds
2001-10-16 3:08 ` VM Patrick McFarland
2001-10-16 8:14 ` VM Anuradha Ratnaweera
@ 2001-10-16 13:51 ` Bill Davidsen
2 siblings, 0 replies; 59+ messages in thread
From: Bill Davidsen @ 2001-10-16 13:51 UTC (permalink / raw)
To: linux-kernel
In article <9qg46l$378$1@penguin.transmeta.com> torvalds@transmeta.com wrote:
>In article <20011015211216.A1314@localhost>,
>Patrick McFarland <unknown@panax.com> wrote:
>>
>>Why is the simple vm system still in place on the linus tree? I would
>think the smart vm system in the ac tree would be better suited to ..
>oh.. say .. everything.
>
>"complex" != "smart".
>
>The benchmarks I've seen says that the simple VM performs better - both
>in terms of repeatability and in terms of absolute performance. Search
>this list yourself if you don't believe me.
The problem may be one of perception. There has been a lot of effort
to fix large memory cases, and that's good. I have a load of 2-4GB
machines in remote locations with heavy load. I would like dead stable
and good performance, and that may be coming in either case.
But for busy little machines, uni, small memory, which represent the
majority of desktops, I find the -ac VM seems to be significantly
faster in starting X, or netscape, or changing desktops. I haven't
tried 2.4.12, because I want to be sure to avoid another 2.4.11oh-shit
debacle. But at 2.4.10 the difference was significant, particularly on
small machines with slow disk. I'll try 2.4.12 Thursday unless major
bugs pop up and see how that does, 2.4.10-ac12 has been stable and
responsive, and I'm out of the office tomorrow and can't reboot if I
get an oops.
--
bill davidsen <davidsen@tmr.com>
"If I were a diplomat, in the best case I'd go hungry. In the worst
case, people would die."
-- Robert Lipe
^ permalink raw reply [flat|nested] 59+ messages in thread
* Re: VM
2001-10-16 1:12 VM Patrick McFarland
2001-10-16 0:53 ` VM David Lang
2001-10-16 1:57 ` VM Linus Torvalds
@ 2001-10-16 8:08 ` Alan Cox
2 siblings, 0 replies; 59+ messages in thread
From: Alan Cox @ 2001-10-16 8:08 UTC (permalink / raw)
To: Patrick McFarland; +Cc: linux-kernel
> Why is the simple vm system still in place on the linus tree? I would think
> the smart vm system in the ac tree would be better suited to .. oh.. say ..
> everything. (The potential for less swapping is _always better_)
I've not reached any final conclusions on the VM - there are things that
Rik's VM shows up that look like the VM algorithm is right but it triggers
other stuff, and there are a couple of hackish bits left in still.
Smart is often good - especially given how slow disk seeks are. But smart is
not always best for any algorithm.
Alan
^ permalink raw reply [flat|nested] 59+ messages in thread
end of thread, other threads:[~2001-10-24 18:28 UTC | newest]
Thread overview: 59+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-22 21:33 VM Marcelo Roberto Jimenez
2001-10-22 21:44 ` VM Oliver Xymoron
2001-10-23 4:27 ` VM Patrick McFarland
2001-10-23 20:04 ` VM bill davidsen
2001-10-23 20:13 ` VM Rik van Riel
2001-10-23 22:15 ` VM Patrick McFarland
-- strict thread matches above, loose matches on Subject: below --
2001-10-22 13:36 VM Michael T. Babcock
2001-10-22 14:02 ` VM Alan Cox
2001-10-22 18:00 ` VM Mike Fedyk
2001-10-22 17:32 ` VM Marcelo Tosatti
2001-10-22 18:59 ` VM Daniel Phillips
2001-10-22 22:10 ` VM Ed Tomlinson
2001-10-23 5:37 ` VM Keith Owens
2001-10-23 5:38 ` VM Keith Owens
2001-10-23 16:15 ` VM Daniel Phillips
2001-10-23 16:14 ` VM David Lang
2001-10-24 13:54 ` VM J . A . Magallon
2001-10-24 18:11 ` VM Luigi Genoni
2001-10-24 14:44 ` VM Daniel Phillips
2001-10-24 16:24 ` VM David Lang
2001-10-24 17:56 ` VM Daniel Phillips
2001-10-24 16:50 ` VM David Lang
2001-10-24 18:29 ` VM Daniel Phillips
2001-10-22 20:21 ` VM Alan Cox
2001-10-22 22:35 ` VM J . A . Magallon
2001-10-17 7:55 VM Leeuw van der, Tim
2001-10-17 11:08 ` VM Liu Tao
2001-10-17 2:31 VM Marcelo Roberto Jimenez
[not found] <E7405EE40489D411B30F00508BF38F8D049677E2@wlvexc01.diginsite.com>
2001-10-16 16:44 ` VM David Lang
2001-10-16 18:11 ` VM Rik van Riel
2001-10-16 22:31 ` VM Luigi Genoni
2001-10-16 1:12 VM Patrick McFarland
2001-10-16 0:53 ` VM David Lang
2001-10-16 12:28 ` VM John Levon
2001-10-16 12:34 ` VM Tobias Ringstrom
2001-10-16 16:17 ` VM David Lang
2001-10-16 1:57 ` VM Linus Torvalds
2001-10-16 3:08 ` VM Patrick McFarland
2001-10-16 3:15 ` VM Robert Love
2001-10-16 3:17 ` VM Patrick McFarland
[not found] ` <1003202417.861.6.camel@phantasy>
[not found] ` <20011015232245.F1314@localhost>
2001-10-16 3:28 ` VM Robert Love
2001-10-16 5:08 ` VM safemode
2001-10-16 4:40 ` VM David Lang
2001-10-16 13:34 ` VM safemode
2001-10-16 14:19 ` VM Allan Sandfeld
2001-10-16 16:14 ` VM Rik van Riel
2001-10-16 3:15 ` VM Patrick McFarland
2001-10-16 10:26 ` VM Stephan von Krawczynski
2001-10-16 23:38 ` VM Andrea Arcangeli
2001-10-17 0:49 ` VM Rik van Riel
2001-10-17 1:15 ` VM Andrea Arcangeli
2001-10-16 23:24 ` VM Andrea Arcangeli
2001-10-16 8:14 ` VM Anuradha Ratnaweera
2001-10-16 13:36 ` VM Luigi Genoni
2001-10-16 14:04 ` VM bill davidsen
2001-10-16 14:11 ` VM Rik van Riel
2001-10-16 14:41 ` VM Martin Dalecki
2001-10-16 13:51 ` VM Bill Davidsen
2001-10-16 8:08 ` VM Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox