9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Kernel panic when allocating a huge memory
Date: Sun,  4 Nov 2012 10:57:16 -0800	[thread overview]
Message-ID: <5C93B9D0-0B34-40EA-B96B-2D7B5C31A9F9@bitblocks.com> (raw)
In-Reply-To: <CAOw7k5jS9BJM82ttYM9ZzbfOF4z+QkJK8ZOkenu37qH054xtAg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]

What is really needed is to have some of your hotshot programmers develop on 3+ year old "average" computers. Their code bloat will reduce when their own productivity suffers due to slow machines.

Still there will be cases where a lean program will run out of memory. It should do its own memory management. For instance, don't try to map in multi GB files in their entirety if you are justvstreaming data!

On Nov 4, 2012, at 6:58 AM, Charles Forsyth <charles.forsyth@gmail.com> wrote:

> It needn't. Today, with the price of RAM, as many have noted, it's probably not worth the code and complexity
> (though there needn't be much of either), but it can be designed and made to work well.
> 
> Also, despite the low cost of RAM, the systems still run out: my 3 Gbyte notebook running Chrome under Linux
> can run out. What Linux then does with no paging file is not pleasant, so I give it a small one, and it still thrashes
> trying to reclaim enough memory to continue. Pathetic.
> 
> My new 4Gb notebook has the memory soldered in (Samsung Series 9).
> 
> On 4 November 2012 14:18, hiro <23hiro@gmail.com> wrote:
> that paging sucks is not a very new discovery.
> 

[-- Attachment #2: Type: text/html, Size: 2442 bytes --]

  reply	other threads:[~2012-11-04 18:57 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
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 [this message]
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=5C93B9D0-0B34-40EA-B96B-2D7B5C31A9F9@bitblocks.com \
    --to=bakul@bitblocks.com \
    --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).