linux-um archives
 help / color / mirror / Atom feed
From: Goetz Bock <bock@blacknet.de>
To: ML-uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] O_DIRECT (was: Swapping directly to host swap area?)
Date: Wed, 28 Jan 2004 15:01:22 +0100	[thread overview]
Message-ID: <20040128140122.GM17709@shell.blacknet.de> (raw)
In-Reply-To: <200401280439.i0S4dMZw005517@ccure.user-mode-linux.org>


On Tue, Jan 27 '04 at 23:39, Jeff Dike wrote:
> > In the current setup, the host kernel sees this as a normal
> > write to an open file, caching it in the process and so not truly
> > freeing up the ram for a bit. 
> 
> This is, and this could be done by setting O_DIRECT on UML swap
> devices.  That way, writes go directly (and asynchronously) to the
> device without landing in the cache.
Please bare with me, if this seams a stupid qestion, but my C skills are
pritty lacking :-(

But could we get this as an option for all ubd devices?

(I'm using Logical Volumes as base for ubd devices, and have no swap on
 my hosts)
-- 
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /                     (c) 2003 as GNU FDL 1.1
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-01-28 14:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-25 23:34 [uml-devel] Swapping directly to host swap area? William Stearns
2004-01-27  3:01 ` Dan Shearer
2004-01-28  4:39 ` Jeff Dike
2004-01-28 14:01   ` Goetz Bock [this message]
2004-01-30 17:27     ` [uml-devel] O_DIRECT (was: Swapping directly to host swap area?) Jeff Dike
2004-02-05 16:59   ` [uml-devel] Swapping directly to host swap area? BlaisorBlade
2004-02-11  0:43     ` Jeff Dike
2004-02-12 19:08       ` BlaisorBlade
2004-02-12 21:36         ` Jeff Dike
2004-03-19  5:51   ` William Stearns
2004-03-19 16:58     ` Matt Ayres

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=20040128140122.GM17709@shell.blacknet.de \
    --to=bock@blacknet.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox