From: Rob Landley <rob@landley.net>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net,
Frank Sorenson <frank@tuxrocks.com>
Subject: Re: [uml-devel] How stable is hostfs (and UML in general)?
Date: Tue, 11 Jan 2005 01:10:42 -0500 [thread overview]
Message-ID: <200501110110.42826.rob@landley.net> (raw)
In-Reply-To: <200501101543.26588.blaisorblade@yahoo.it>
On Monday 10 January 2005 09:43 am, Blaisorblade wrote:
> I also think that if the system is idle, Linux could write out the datas
> anyway (I don't know this well, but it's reasonable that the data are
> sync'd after enough time).
>
> Now, your question reduces to only this one:
>
> "Will Linux, without memory pressure but with CPU / disk pressure, start
> the cache writeout or not? "
> At this point, I don't know
There was some discussion of this on linux-kernel a few years back. That's
where I first heard about it. There was an optimization in the linux kernel
for this, but whether they were arguing to preserve the optimization or
whether they were arguing to rip it out now that shm was in there, I don't
remember...
> > I know. But once again, I'm tryng to use UML in hopes of being more
> > portable and doing without root access. Patching the kernel defeats the
> > point entirely, I might as well just tell people "you'll need to boot
> > 2.6.10 to build this, and it needs to be run as root".
> >
> > I'm more interested in correctness than performance at the moment. As
> > long as it WORKS, they can leave it running overnight for now...
>
> Well, be careful... using TT mode can mean experiencing more UML bugs.
I've noticed. :)
On the other hand, I have a honking big test script to exercise it and a
comparison case with stable behavior, and I'm happy to isolate differences
between the two. I'll even happily attempt fixing them, which is not the
same as knowing what I'm doing but when have I ever let that stop me?
> > It
> > seems unlikely knoppix would waste space on a second copy of libc for any
> > other reason...
>
> Well, the 1st copy on glibc runs with any kernel (2.4 and 2.6) and uses
> LinuxThreads for threading support.
>
> The 2nd copy, the one in /lib/tls, requires a 2.6 kernel, uses NPTL for
> threading support, and can give problems to some apps (including sometimes
> UML - but to get those problems, you need to link UML dinamically, while
> when TT mode is active it will link statically, and usually static link is
> done against non-NPTL glibc).
>
> Note:
> TLS = Thread Local Storage (one var, with TLS, can have a different value
> for each thread)
> NPTL = Next Generation Posix Threading.
Ah, that makes sense. NTPL, futexes, and all Ingo's new 2.6 threading work.
(Various people keep threatening to glue NTPL to uclibc if we ever actually
have another release. I still need to send Eric a cake for the one year
anniversary of 0.9.26.) And knoppix is still going through a 2.4 kernel/2.6
kernel identity crisis, hence two libraries. Got it.
(I also have a suse test environment on another machine, and upstairs there's
an old fedora core I install, but right now I'm just trying to get it all to
work on my laptop...)
Rob
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-01-11 7:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-09 2:06 [uml-devel] How stable is hostfs (and UML in general)? Rob Landley
2005-01-09 6:00 ` Frank Sorenson
2005-01-09 22:06 ` Rob Landley
2005-01-10 1:53 ` Henrik Nordstrom
2005-01-10 6:34 ` Rob Landley
2005-01-10 13:47 ` Blaisorblade
2005-01-10 17:08 ` Nix
2005-01-10 14:43 ` Blaisorblade
2005-01-11 6:10 ` Rob Landley [this message]
2005-01-10 0:05 ` Michael Richardson
2005-01-10 6:20 ` Rob Landley
2005-01-10 6:41 ` Rob Landley
2005-01-10 8:48 ` Henrik Nordstrom
2005-01-11 5:58 ` Rob Landley
2005-01-10 15:21 ` Michael Richardson
2005-01-11 6:35 ` Rob Landley
2005-01-11 11:27 ` Henrik Nordstrom
2005-01-11 21:34 ` Michael Richardson
2005-01-11 23:23 ` Blaisorblade
2005-01-12 16:55 ` Michael Richardson
2005-01-12 17:09 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501110110.42826.rob@landley.net \
--to=rob@landley.net \
--cc=blaisorblade@yahoo.it \
--cc=frank@tuxrocks.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.