You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,20 @@ cd tests
43
43
44
44
### Usefull links
45
45
46
+
#### Memory management on AIX
47
+
48
+
Memory management on AIX is quite sophisticated making it possible to fine tuned very precisely the way your program uses memory. Consider using these compiler/linker options when using pthreads:
49
+
* -bmaxdata:0xN0000000 this option activates the large memory model, N is a number in the range of [1-8].
50
+
* -bmaxmem=-1 this option tell the compiler to use as much memory it needs (usefull when -O option is used).
51
+
52
+
Thread stack size:
53
+
* 32bits programs allocate 96KB per thread on the program's heap.
54
+
* 64bits programs allocate 192KB per thread on the program's heap.
55
+
56
+
On many Linux implementations and on Mac OS X the stack size is defaulted to 8MB. You may consider setting this as a default.
57
+
58
+
More detailed information can be found in this [RedBook](http://www.redbooks.ibm.com/redbooks/pdfs/sg245674.pdf) (chapter 8).
{ $as_echo"$as_me:${as_lineno-$LINENO}: result: using large memory model (maxdata:0x80000000), optimising level 2 (-O),using run-time link method (-brtl)">&5
3901
+
$as_echo"using large memory model (maxdata:0x80000000), optimising level 2 (-O),using run-time link method (-brtl)">&6; }
3941
3902
;;
3942
3903
g++ | gcc)
3943
-
#permissive is not required anymore - CXXFLAGS="-x c++ -std=c++11 -frtti -fpermissive $CXXFLAGS "
0 commit comments