Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b7f47612ec8d7e7f3bbc8d3d87ac4f27191c674
Ticket: 3584573fffffffffffffffffffffffffffffffff
cannot set thread stack size on linux
User & Date: ferrieux on 2012-11-06 23:01:46
Changes

  1. icomment:
    While the suggestion to allow this setting is obviously valid, please notice that on Linux systems this "8Mb overhead" only costs in virtual address space, not real RAM, thanks to overcommit. To verify this, let's look at a 8.6HEAD threaded build on Linux 32b:
    
    Notifier thread stack segment as seen in pmap: 10MB
    
       b6e93000  10248K rw---    [ anon ]
    
    Real usage as seen in /proc/PID/smaps: only 16kB
    
    b6e93000-b7895000 rw-p 00000000 00:00 0 
    Size:              10248 kB
    Rss:                  16 kB
    Pss:                  16 kB
    Shared_Clean:          0 kB
    Shared_Dirty:          0 kB
    Private_Clean:         0 kB
    Private_Dirty:        16 kB
    Referenced:           16 kB
    Swap:                  0 kB
    KernelPageSize:        4 kB
    MMUPageSize:           4 kB
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"