9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: steve <steve@quintile.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Kernel panic when allocating a huge memory
Date: Sat,  3 Nov 2012 06:53:24 +0000	[thread overview]
Message-ID: <4A0E7310-9D9D-45C5-88A3-62B4A3191267@quintile.net> (raw)
In-Reply-To: <CAOe8CcYJER79V7EwyU_QKsGq==dCG6cCp4yuYwhw_4i3jMgR5w@mail.gmail.com>

if you use the 9front distribution swap works,
if you use the either 9atom or the labs distribution it does not.

the labs or erik may take the fixes from 9front but there are good reasons
for dropping swap all together - it is very slow, rarely used,
and ram is cheap these days.

i think this is a fair summary.

-Steve

On 3 Nov 2012, at 05:43, pmarin <pmarin.mail@gmail.com> wrote:

> To be clear, is the swap partition completely useless in Plan9?
> 
> pmarin.
> 
> On Fri, Nov 2, 2012 at 9:28 PM, Charles Forsyth
> <charles.forsyth@gmail.com> wrote:
>> There's a non-trivial chance that what now goes wrong with paging
>> (which did once work, even if it isn't great) is a symptom of a bug
>> that afflicts the virtual memory code itself. (For instance, a page unlocked
>> during a critical period, a race, and so on.)
>> 
>> 
>> 
>> On 2 November 2012 19:18, erik quanstrom <quanstro@quanstro.net> wrote:
>>> 
>>> On Fri Nov  2 15:10:00 EDT 2012, skip.tavakkolian@gmail.com wrote:
>>>> it's by design:
>>>> http://9fans.net/archive/2006/07/229
>>>> 
>>>> -Skip
>>>> 
>>>> On Fri, Nov 2, 2012 at 10:36 AM, Pavel Klinkovsky
>>>> <pavel.klinkovsky@gmail.com> wrote:
>>>>>>> It really seems as a problem with swap. :(
>>>>>> 
>>>>>> this is well known, and solutions are available
>>>>>> even if you don't care to use them.
>>>>> 
>>>>> Oh, does it mean the official Plan 9 distribution contains non-working
>>>>> swap? :O
>>>>> It is clear I missed something...
>>>>> 
>>>>> Sorry for the noise.
>>> 
>>> i don't think that's quite fair to the current situation.  there
>>> was a swapper, and it's broken.  it should either be fixed or
>>> removed.  leaving the thing in in the state it's in (buffalo
>>> buffalo?) doesn't make any sense, and is as seperate from
>>> the question of whether to page (to disk) or not as, ahem, vm is from
>>> paging (to disk).
>>> 
>>> imo, swap needs to go.
>>> 
>>> - erik
>> 



  reply	other threads:[~2012-11-03  6:53 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02  9:50 [9fans] Kernel panic when compiling Go on native Plan 9 Pavel Klinkovsky
2012-11-02 10:56 ` Pavel Klinkovsky
2012-11-02 11:59   ` Richard Miller
2012-11-02 13:04     ` erik quanstrom
2012-11-02 12:19   ` Anthony Martin
2012-11-02 13:39   ` Pavel Klinkovsky
2012-11-02 13:51     ` Richard Miller
2012-11-02 13:57       ` erik quanstrom
2012-11-02 15:25         ` Richard Miller
2012-11-02 16:42           ` cinap_lenrek
2012-11-02 14:16     ` Pavel Klinkovsky
2012-11-02 13:39 ` Pavel Klinkovsky
2012-11-02 14:00   ` erik quanstrom
2012-11-02 14:39     ` Anthony Martin
2012-11-02 15:13       ` erik quanstrom
2012-11-02 16:44     ` steve
2012-11-02 15:21 ` Pavel Klinkovsky
2012-11-02 16:03 ` Pavel Klinkovsky
2012-11-02 17:07   ` Skip Tavakkolian
2012-11-02 17:09     ` erik quanstrom
2012-11-02 16:19 ` [9fans] Kernel panic when allocating a huge memory Pavel Klinkovsky
2012-11-02 16:29   ` erik quanstrom
2012-11-02 17:36 ` Pavel Klinkovsky
2012-11-02 18:36   ` John Floren
2012-11-02 18:52     ` erik quanstrom
2012-11-02 19:09   ` Skip Tavakkolian
2012-11-02 19:18     ` erik quanstrom
2012-11-02 20:28       ` Charles Forsyth
2012-11-03  5:43         ` pmarin
2012-11-03  6:53           ` steve [this message]
2012-11-03  6:56             ` erik quanstrom
2012-11-03  9:16             ` Charles Forsyth
2012-11-03 10:02               ` lucio
2012-11-03 15:40               ` erik quanstrom
2012-11-03 15:50                 ` Charles Forsyth
2012-11-03 16:31                 ` Kurt H Maier
2012-11-03 16:33                   ` erik quanstrom
2012-11-03 16:46                     ` hiro
2012-11-03 16:51                     ` Kurt H Maier
2012-11-03 17:04                       ` erik quanstrom
2012-11-03 17:13                         ` Kurt H Maier
2012-11-03 17:22                           ` Dan Cross
2012-11-03 17:28                             ` Kurt H Maier
2012-11-03 17:38                               ` hiro
2012-11-03 21:29                             ` Steve Simon
2012-11-03 17:40                           ` erik quanstrom
2012-11-03 17:45                             ` Kurt H Maier
2012-11-03 17:57                               ` erik quanstrom
2012-11-03 18:06                                 ` Kurt H Maier
2012-11-03 18:48                                 ` Charles Forsyth
2012-11-04 14:02                                   ` erik quanstrom
2012-11-04 14:18                                     ` hiro
2012-11-04 14:58                                       ` Charles Forsyth
2012-11-04 18:57                                         ` Bakul Shah
2012-11-04 14:54                                     ` Charles Forsyth
2012-11-04 16:14                                   ` Martin Harriss
2012-11-04 16:18                                     ` Charles Forsyth
2012-11-04 16:27                                   ` tlaronde
2012-11-04 19:17                                     ` tlaronde
2012-11-03 21:15                         ` hiro
2012-11-03 16:55                   ` balaji
2012-11-03 17:05                 ` Matthew Veety
2012-11-02 17:42 ` [9fans] Kernel panic when compiling Go on native Plan 9 Pavel Klinkovsky
2012-11-05 13:33 ` [9fans] Kernel panic when allocating a huge memory Pavel Klinkovsky
2012-11-05 13:50   ` erik quanstrom
2012-11-05 15:56     ` Pavel Klinkovsky
2012-11-05 13:51   ` cinap_lenrek
2012-11-05 15:56     ` Pavel Klinkovsky

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=4A0E7310-9D9D-45C5-88A3-62B4A3191267@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).