From: Helge Hafting <helge.hafting@aitel.hist.no>
To: Tomasz Torcz <zdzichu@irc.pl>
Cc: Eric Piel <Eric.Piel@tremplin-utc.net>, linux-kernel@vger.kernel.org
Subject: Re: [OT] How to tune kernel to swap more often (video ram swap)
Date: Mon, 06 Feb 2006 08:52:09 +0100 [thread overview]
Message-ID: <43E70029.4060906@aitel.hist.no> (raw)
In-Reply-To: <20060205111752.GA4636@irc.pl>
Tomasz Torcz wrote:
>On Sun, Feb 05, 2006 at 12:10:02PM +0100, Eric Piel wrote:
>
>
>>05.02.2006 11:04, Paweł Zadrąg wrote/a écrit:
>>
>>
>>>Yo...
>>>
>>>In normal case, using harddisk as a swap space i should ask how to cut
>>>down swapping, or make swapping when idle, etc... My case is a little
>>>bit diffrent... I have a 256MB video card, while 240MB of it is used
>>>as a swap space. And the question is: how to tune kernel to swap more
>>>often. I known swapped memory must be copied back to ram before beeing
>>>used, so i'm looking for a reasonable tunning values...
>>>
>>>
>>Am I correctly understanding that you are using your video card memory
>>as a place to put swap? This sounds quite cool, how have you done this?
>>Is there a driver which can report the video ram as a block device?
>>
>>
>
> It's an old trick with MTD devices:
>http://hedera.linuxnews.pl/_news/2002/09/03/_long/1445.html
>
>
Nice trick. If you also have swapspace on disk, remember to
give the "mtd swap" higher priority in /etc/fstab.
That way, disk swapping will only happen when the mtd swap is full.
Helge Hafting
prev parent reply other threads:[~2006-02-06 7:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-05 10:04 Paweł Zadrąg
2006-02-05 11:04 ` Marc Koschewski
2006-02-05 11:10 ` [OT] " Eric Piel
2006-02-05 11:17 ` Tomasz Torcz
2006-02-06 7:52 ` Helge Hafting [this message]
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=43E70029.4060906@aitel.hist.no \
--to=helge.hafting@aitel.hist.no \
--cc=Eric.Piel@tremplin-utc.net \
--cc=linux-kernel@vger.kernel.org \
--cc=zdzichu@irc.pl \
/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
all inboxes | Powered by JetHome®