public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Rik spreading bullshit about VM
@ 2002-01-16 21:49 Dieter Nützel
  0 siblings, 0 replies; 85+ messages in thread
From: Dieter Nützel @ 2002-01-16 21:49 UTC (permalink / raw)
  To: Adam Kropelin; +Cc: Andrea Arcangeli, Linux Kernel List

Adam Kropelin wrote:
> Andrea Arcangeli wrote:
> <snip>
> >I don't have a single bugreport about the current 2.4.18pre2aa2 VM (except 
> >perhaps the bdflush wakeup that seems to be a little too late and that
> >deals to lower numbers with slow write load etc.., fixable with bdflush
> >tuning). 
>
> I don't know if this is a reference to the issue I reported under the
> "Writeout in recent kernels..." thread or not. If not, my apologies for
> clogging up this new "discussion".
>
> As reported[0] in the above-mentioned thread, the bdflush tuning parameters
> you suggested made no difference in my test case other than slightly
> adjusting the temporal relationship between writeout and file transfer. -aa
> still performs slightly worse than both 2.4.17 stock and -rmap. 2.4.13-ac7 
> currently beats all competitors.

Put Andrew's read-latency.patch on -aa (10_vm-22) and see what you get out of 
it. It should fly...

-Dieter

-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: Dieter.Nuetzel@hamburg.de

^ permalink raw reply	[flat|nested] 85+ messages in thread
* Re: Rik spreading bullshit about VM
@ 2002-01-17  0:08 V-man
  2002-01-17  0:31 ` Rik van Riel
  0 siblings, 1 reply; 85+ messages in thread
From: V-man @ 2002-01-17  0:08 UTC (permalink / raw)
  To: rgooch, linux-kernel


Here is the english version:

The new VM has better performance than the old VM for typical desktop systems ... but it fails horribly on more systems than the old VM. Redhat, for example, cannot ship the new VM in their distribution because it'll just fall apart for the database servers, some of their users run at least now my code is gone I no longer have to work together with Linus, which is a good thing ;)



As a little comment, I would like to avoid to talk about the bad taste 
and the poor style used to say those thing in this way.
If you just go to read lkml archive you can find tents of mail
of people who were just waiting for AA VM to solve the problems they have 
with their eavilly stressed DB (I am one of them). That is true for small dbs,
and huge dbs with some GB of RAM used.
So basically Ri's assertion is far from truth on many aspects.

Luigi 


^ permalink raw reply	[flat|nested] 85+ messages in thread
* Re: Rik spreading bullshit about VM
@ 2002-01-17  1:16 Andrea Scrimieri
  0 siblings, 0 replies; 85+ messages in thread
From: Andrea Scrimieri @ 2002-01-17  1:16 UTC (permalink / raw)
  To: linux-kernel

On Wed, 16 Jan 2002, Rik van Riel wrote:

> It seems the IRC log of the journalist in question was missing
> some lines of what I said and he just glued together the remaining
> parts of the paragraph for that particular question ;)
>
> The rest of the interview seems to have survived pretty ok, though.


I'm sorry but you are wrong. The interview was published untouched.
Nothing was cut or moved. These are my IRC logs about the paragraph you're
talking about.


---START---
[msg(riel)] With kernel 2.4.10 we have seen that Linus Torvalds has
preferred Arcangeli's VM to yours. What do you think of his decision? And
why has he made that?


[riel(dsiumz@Star6583.ctame701-1.telepar.net.br)] it was a strange
situation, first Linus ignores bugfixes by me and Alan for almost a year,
then he complains we "didn't send" him the bugfixes and he replaces the VM
of course, the new VM has better performance than the old VM for typical
desktop systems ... but it fails horribly on more systems than the old VM
Redhat, for example, cannot ship the new VM in their distribution because
it'll just fall apart for the database servers some of their users run at
least now my code is gone I no longer have to work together with Linus,
which is a good thing ;)

[msg(riel)] Why is it a good thing?

[riel(dsiumz@Star6583.ctame701-1.telepar.net.br)] with Linus out of the
way,
I can make a good VM. I no longer have to worry about what Linus likes or
doesn't like. This is mostly important for intermediary code, where some
of
the "ingredients" to a VM are in place and others aren't yet in place such
code can look ugly or pointless if you don't have the time to look at the
design for a few days, so Linus tends to remove it ... even though it is
needed to continue with development

---END---

The original IRC interview was made in english: as we didn't want to
change anything said by Rik, we didn't correct even grammatical or
syntactical errors. I even left emoticons as they were typed...


Best regards,
Andrea Scrimieri


^ permalink raw reply	[flat|nested] 85+ messages in thread
* Re: Rik spreading bullshit about VM
@ 2002-01-17  1:26 rwhron
  2002-01-17 19:08 ` bill davidsen
  0 siblings, 1 reply; 85+ messages in thread
From: rwhron @ 2002-01-17  1:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: andrea

About running the Andrea VM in 4M:
I booted in single user mode.

bash-2.05a# uname -a
Linux mountain 2.4.18pre2aa2 #1 Wed Jan 9 21:44:03 EST 2002 i586 unknown

bash-2.05a# dmesg| grep mem
Kernel command line: BOOT_IMAGE=2418p2aa2 ro root=1602 console=ttyS1,38400n8 single mem=4m
Memory: 2100k/4096k available (891k kernel code, 1608k reserved, 215k data, 196k init, 0k highmem)
Freeing unused kernel memory: 196k freed

Manually started syslogd, klogd and brought up the lo and eth0 interfaces and started sshd.
I can ssh into the box:

mountain:/$ ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.4  0.0  1288    0 ?        SW   19:24   0:06 init [S]
root         2  0.0  0.0     0    0 ?        SW   19:24   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SWN  19:24   0:00 [ksoftirqd_CPU0]
root         4  0.1  0.0     0    0 ?        SW   19:24   0:02 [kswapd]
root         5  0.0  0.0     0    0 ?        SW   19:24   0:00 [bdflush]
root         6  0.0  0.0     0    0 ?        SW   19:24   0:00 [kupdated]
root         7  0.0  0.0     0    0 ?        SW   19:24   0:00 [kreiserfsd]
root        21  0.0  0.0  1288    0 ttyS1    SW   19:25   0:00 init [S]
root        22  0.0  0.0  2212    0 ttyS1    SW   19:25   0:00 bash
root        46  0.0  0.0  1444    0 ?        SW   19:37   0:00 /usr/sbin/syslogd -m0
root        49  0.0  0.0  1292    0 ?        SW   19:38   0:00 /usr/sbin/klogd -c3 -x -k /boot/System.map-2.4.18pre2aa2
root        63  0.0  0.0     0    0 ?        SW   19:47   0:00 [eth0]
root        68  0.5  0.0  2672    0 ?        SW   19:47   0:00 sshd
root        69  0.9  0.8  2756   20 ?        D    19:48   0:00 sshd
hrandoz     70  1.9  0.0  2192    0 pts/0    SW   19:48   0:01 -bash
hrandoz     75 40.0  4.1  2504   96 pts/0    R    19:49   0:00 ps aux

mountain:/$ cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:   2351104  2232320   118784        0   344064   249856
Swap: 156270592  1409024 154861568
MemTotal:         2296 kB
MemFree:           116 kB
MemShared:           0 kB
Buffers:           336 kB
Cached:            204 kB
SwapCached:         40 kB
Active:             68 kB
Inactive:          516 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:         2296 kB
LowFree:           116 kB
SwapTotal:      152608 kB
SwapFree:       151232 kB

hrandoz@mountain:/$ /sbin/swapon -s
Filename                        Type            Size    Used    Priority
/dev/hda3                       partition       152608  1372    -1


top:
  7:55pm  up 31 min,  1 user,  load average: 1.30, 0.71, 0.32
16 processes: 15 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.1% user,  4.6% system,  0.0% nice, 95.1% idle
Mem:     2296K av,    2096K used,     200K free,       0K shrd,     316K buff
Swap:  152608K av,    1488K used,  151120K free                      96K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
   79 hrandoz   14   0   316  200   184 R     2.0  8.7   0:02 top
   69 root      18   0   352    0     0 SW    1.9  0.0   0:03 sshd
    1 root      20   0    56    0     0 SW    0.0  0.0   0:06 init
    2 root      20   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      20  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    4 root      20   0     0    0     0 SW    0.0  0.0   0:03 kswapd
    5 root       3   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    6 root      20   0     0    0     0 SW    0.0  0.0   0:00 kupdated
    7 root      20   0     0    0     0 SW    0.0  0.0   0:00 kreiserfsd
   21 root       9   0    56    0     0 SW    0.0  0.0   0:00 init
   22 root      20   0   296    0     0 SW    0.0  0.0   0:00 bash
   46 root      20   0   108    0     0 SW    0.0  0.0   0:00 syslogd
   49 root      20   0    72    0     0 SW    0.0  0.0   0:00 klogd
   63 root      20   0     0    0     0 SW    0.0  0.0   0:00 eth0
   68 root      20   0   276    0     0 SW    0.0  0.0   0:00 sshd
   70 hrandoz   20   0   276    0     0 SW    0.0  0.0   0:01 bash

bash-2.05a# df -kT
Filesystem    Type   1k-blocks      Used Available Use% Mounted on
/dev/hdc2 reiserfs     9768728   4194328   5574400  43% /
/dev/hdc3     ext2     8064432      4912   7649872   1% /opt/testing


Running 4M is interesting.  If I really wanted to run 4M, I'd use ash 
for the shell, and try uClibc instead of glibc. 

The test that really impresses me the most about 2.4.18pre2aa2 is what
I see on this test on an Athlon 1333 with 1024MB RAM:

simultaneously:
run continuous loop of mtest01 -p 85 -w  # allocate and write to 85% of VM
create and cpio 10 330 MB files
nice -19 setiathome &
listen to mp3blaster		# a few skips at the beginning, then smooth.

I've tested a bunch of kernels lately.  This is only what's sitting in /boot
since I last cleaned it out:

mountain:/boot$ ls vml*
vmlinuz                  vmlinuz-2.4.17rc2aa2-old  vmlinuz-2.4.18-pre3         
vmlinuz-2.4.18pre2       vmlinuz-2.4.18pre3ll      vmlinuz-2.5.1-dj11  
vmlinuz-2.5.2-pre10      vmlinuz-2.5.2-pre9        vmlinuz-2.4.17
vmlinuz-2.4.17rc2aa2-wli vmlinuz-2.4.18-pre4       vmlinuz-2.4.18pre2aa1
vmlinuz-2.4.18pre3pe     vmlinuz-2.5.1-dj13        vmlinuz-2.5.2-pre11
vmlinuz-2.5.2-pre9mingo  vmlinuz-2.4.17-rmap11a    vmlinuz-2.4.17rmap11b
vmlinuz-2.4.18pre1-mjc2nio vmlinuz-2.4.18pre2aa2   vmlinuz-2.4.18pre3pelb
vmlinuz-2.5.1-dj14       vmlinuz-2.5.2-pre5        vmlinuz.old
vmlinuz-2.4.17rc2aa2    vmlinuz-2.4.18-pre1        vmlinuz-2.4.18pre1mjc2
vmlinuz-2.4.18pre3-ac2  vmlinuz-2.5.1              vmlinuz-2.5.2
vmlinuz-2.5.2-pre6-mingo

IMHO, 2.4.18pre2aa2 is the best!

Some kernel test results at:
http://home.earthlink.net/~rwhron/kernel/k6-2-475.html

# from the 4M box
mountain:/boot$ uptime
  8:24pm  up   1:00,  1 user,  load average: 0.08, 0.04, 0.09

-- 
Randy Hron


^ permalink raw reply	[flat|nested] 85+ messages in thread
* Re: Rik spreading bullshit about VM
@ 2002-01-17  4:01 rwhron
  0 siblings, 0 replies; 85+ messages in thread
From: rwhron @ 2002-01-17  4:01 UTC (permalink / raw)
  To: linux-kernel


A couple points to followup on the notion of VM at mem=4m:

2.4.18pre2aa2 can do it:
http://marc.theaimsgroup.com/?l=linux-kernel&m=101123070310781&w=2

2.5.2, 2.4.18-pre4, and 2.4.18-pre3-rmap11b would not allow login 
with boot single mem=4m:

2.4.18-pre3-rmap11b tried with init=/bin/bash and init=/bin/ash,
but that would not produce a prompt either.

Log at:
http://home.earthlink.net/~rwhron/kernel/4m

BTW, I think 4G is more important than 4M.

-- 
Randy Hron


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

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

Thread overview: 85+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33L.0201162235480.32617-100000@imladris.surriel .com>
2002-01-16 19:04 ` Rik spreading bullshit about VM Andrea Arcangeli
2002-01-16 20:11   ` Jose Luis Domingo Lopez
2002-01-16 20:58   ` Richard Gooch
2002-01-16 21:10     ` Dave Jones
2002-01-16 21:17       ` Rik van Riel
2002-01-17 13:42         ` [lkml] " Ian Soboroff
2002-01-18  3:21         ` ...Re: " Dan Mann
2002-01-17  0:20       ` Luigi Genoni
2002-01-16 21:17     ` Craig Knox
2002-01-16 20:58   ` Bongani Hlope
2002-01-16 20:55     ` John Levon
2002-01-16 21:21       ` Bongani Hlope
2002-01-16 21:29   ` Adam Kropelin
2002-01-17 14:17     ` async buffer flushing reported slowdown (could be a driver issue?) Andrea Arcangeli
2002-01-18  0:28       ` Adam Kropelin
2002-01-16 21:58   ` Rik spreading bullshit about VM Diego Calleja
2002-01-16 22:02     ` Rik van Riel
2002-01-17 14:35       ` bugfix backed out Andrea Arcangeli
2002-01-17 15:04         ` Rik van Riel
2002-01-17 15:52           ` Andrea Arcangeli
2002-01-17 14:25     ` oom failures with mem=4m Andrea Arcangeli
2002-01-16 21:59   ` Rik spreading bullshit about VM Diego Calleja
2002-01-16 22:44   ` Chris Chabot
2002-01-17  8:18     ` Christoph Rohland
2002-01-17 14:13     ` blkdev speedup Andrea Arcangeli
2002-01-17  0:07   ` Rik spreading bullshit about VM Erik Mouw
2002-01-17  0:25     ` J Sloan
2002-01-17  1:15       ` Erik Mouw
2002-01-17 17:40       ` bill davidsen
2002-01-17 14:14     ` Alan Cox
2002-01-18  4:30     ` Bosko Radivojevic
2002-01-18  4:36       ` vm philosophising Rik van Riel
2002-01-18  4:58         ` Matthew Johnson
2002-01-18  5:12           ` Rik van Riel
2002-01-18  5:18           ` Ryan Cumming
2002-01-18  5:43             ` Matthew Johnson
2002-01-21 17:55               ` Bill Davidsen
2002-01-18  6:05             ` Matthew Johnson
2002-01-18 14:42         ` Tommy Faasen
2002-01-18 15:52           ` listmail
2002-01-21 15:50           ` The Doctor What
2002-01-21 16:16             ` Mike Harrold
2002-01-18 15:55         ` Mr. Shannon Aldinger
2002-01-18 18:39         ` Oliver Xymoron
2002-01-18 19:23           ` Alan Cox
2002-01-18 20:17             ` David Schwartz
2002-01-18 21:39               ` Alan Cox
2002-01-19  4:42             ` David Luyer
2002-01-19 18:00               ` Rob Landley
2002-01-20  5:42               ` Stevie O
2002-01-17  0:38   ` Rik spreading bullshit about VM Rik van Riel
2002-01-17  1:50     ` Nicolas Pitre
2002-01-17 11:45       ` Rik van Riel
2002-01-17 12:02         ` Stephan von Krawczynski
2002-01-17  2:14     ` Andrea Scrimieri
2002-01-17 12:07       ` Rik van Riel
2002-01-17 13:11         ` Andrea Scrimieri
2002-01-17 13:15           ` Rik van Riel
2002-01-17 14:02             ` Alan Cox
2002-01-17 21:41             ` Trever L. Adams
2002-01-18  1:46               ` brian
2002-01-17  1:52   ` Stephen Satchell
2002-01-17 13:26   ` Alan Cox
2002-01-17 15:10     ` clarification about redhat and vm Andrea Arcangeli
2002-01-17 15:21       ` Rik van Riel
2002-01-17 16:17       ` Alan Cox
2002-01-17 16:31         ` Andrea Arcangeli
2002-01-18 16:46         ` Wilhelm Nuesser
2002-01-18 19:07           ` Andrea Arcangeli
2002-01-19 10:50             ` Christoph Rohland
2002-01-19 13:54               ` Alan Cox
2002-01-19 17:38                 ` Andrea Arcangeli
2002-01-18 16:53         ` Willi Nüßer
2002-01-16 21:49 Rik spreading bullshit about VM Dieter Nützel
  -- strict thread matches above, loose matches on Subject: below --
2002-01-17  0:08 V-man
2002-01-17  0:31 ` Rik van Riel
2002-01-17  7:44   ` Luigi Genoni
2002-01-17 11:11     ` Rik van Riel
2002-01-17 15:25   ` John Jasen
2002-01-17  1:16 Andrea Scrimieri
2002-01-17  1:26 rwhron
2002-01-17 19:08 ` bill davidsen
2002-01-17 19:49   ` Rik van Riel
2002-01-17 20:22     ` Dan Chen
2002-01-17  4:01 rwhron

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