rust icon indicating copy to clipboard operation
rust copied to clipboard

Reduce the size of scheduler thread stacks

Open brson opened this issue 14 years ago • 5 comments

They are 100KB right now, arbitrarily chosen. See how small they can be.

brson avatar Sep 14 '12 05:09 brson

Not critical for 0.6; removing milestone

nikomatsakis avatar Mar 25 '13 17:03 nikomatsakis

I tested as 16KB by changing SCHED_STACK_SIZE = 1024*16 in rt/rust_sched_launcher.cpp file. (PTHREAD_STACK_MIN was 16KB) It works well.

june0cho avatar May 30 '13 03:05 june0cho

Triage bump, no progress on this yet.

thestinger avatar Jul 22 '13 21:07 thestinger

visiting for triage, email from 2013 sep 23. Not sure if this is still relevant in the new runtime, since we do not yet have segmented stack support there?

pnkfelix avatar Sep 30 '13 12:09 pnkfelix

Support for segmented stacks has been dropped, so there's no point worrying about this anymore.

thestinger avatar Nov 15 '13 18:11 thestinger