Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* stacksize and ALphaUP2000
@ 2000-01-13  5:00 EKK
  0 siblings, 0 replies; only message in thread
From: EKK @ 2000-01-13  5:00 UTC (permalink / raw)


Hi,

below follows a thread forwarded to me on the subject.

Is there a problem with the stacksize setting for the
kernel running on the Alpha UP2000 motherboard based system?

I am currently running kernel 2.2.12.

When I set the stacksize to something huge, i.e. unlimited,
like I do on all my Pentium-based systems, I can run big
number-crunching programs.

On the Alpha though, the system seems to come to a huge
slowdown every once in a while...
top seems to take about 20-40% of the CPU!!!
everything is dead-slow, including shutting down.

After I reboot, I am able to start an analysis and run it.
After it has run, the system seems normal for a while, then
after gzip and various trivial tasks, it starts to slow
down again and then I have to reboot, etc.

I tried re-setting the stacksize to something lower, about
512M, but I should probably set it down to about 8M (as
it is by default?)

The problem with that is I can then no longer run some
graphics applications.

My questions:

1.)  How does stacksize affect maximum size of arrays in my
programs, i.e. I have some big (~10000000) arrays, and stacksize
seems to limit this.

2.)  Is there a way around this, i.e. something I can put inside
my program, that is more efficient and can handle a lower
stacksize.

3.)  The x386 kernel seems to be ok with stacksize=unlimited.  Is
there a way to fix the alpha kernel, perhaps manipulating some
of the .h files within the kernel source code?



Help, my machine hasn't worked quite right for a long time now!!


Thank you,


AG




>>Resent-Date: 25 Dec 1999 00:02:05 -0000
>>Resent-Cc: recipient list not shown: ;
>>MBOX-Line: From axp-list-request@redhat.com  Fri Dec 24 19:02:05 1999
>>From: "Konrad Podloucky" <konrad@pelimbert.tssc.univie.ac.at>
>>X-Mailer: XFMail 1.3 [p0] on Linux
>>Date: Fri, 24 Dec 1999 23:57:22 +0100 (CET)
>>Reply-To: konrad@pelimbert.tssc.univie.ac.at
>>To: RedHat AXP List <axp-list@redhat.com>
>>Subject: UP2000 crashes -- update
>>Resent-From: axp-list@redhat.com
>>X-Mailing-List: <axp-list@redhat.com> archive/latest/2875
>>X-Loop: axp-list@redhat.com
>>Resent-Sender: axp-list-request@redhat.com
>>X-URL: http://www.redhat.com
>>
>>Hi, it's me again,
>>
>>I found out that the guys using running that big number
>>crunching program on the UP2000, which regularly caused the
>>machine to commit suicide with "Too many files open", always set
>>the stack size to unlimited. Now I tried setting the limit to
>>16M et voil�: the sucker's running stable for days now...
>>
>>Funnily on other Alphas (LX, SX) setting the stack size to
>>unlimited doesn't wreak havoc and I don't really see the
>>connection between that and too many open files. If somebody
>>could shed some light on this I'd be really grateful.
>>
>>Another detail I found out: Usually when you tried to kill the
>>program (unlimited stack size this time) with a simple SIGTERM
>>the machine would immediately go beserk with "Too many files
>>open".
>>
>>For me this still looks like a kernel problem on the UP2000, but
>>I don't have the expertise to say for certain. I'd be glad,
>>however to be proven wrong.
>>
>>Konrad
>>
>>
>>________________________________________________________________
>>   .~.   Konrad Podloucky    <konrad@pelimbert.tssc.univie.ac.at>
>>   /V\                       Running GNU/Linux 2.2.13 on an Alpha
>>  // \\  GnuPG/PGP-key available by request
>>/(   )\ Please boycott amazon.com! For details, see:
>>  ^^-^^                 http://linuxtoday.com/story.php3?sn=13652
>>
>>--
>>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



-- 


Alessandro Giachino,  Software Engineer

EKK Inc.
2065 West Maple C309        tel. 248-624-9957
Walled Lake MI 48390        fax. 248-624-7158
_____________________________________________
                        http://www.ekkinc.com



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-13  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-13  5:00 stacksize and ALphaUP2000 EKK

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox