1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
<!DOCTYPE html>
<html>
<head>
<link rel=stylesheet href=style.css />
<link rel=icon href=CZI-new-logo.png />
</head>
<body>
<main>
<div class="goto-index"><a href="index.html">Table of contents</a></div>
<h1>Choosing the options controlling memory modes</h1>
<p>
The dialog below will help you choose
the values to use for the two options controlling memory modes:
<ul>
<li><code>--memoryMode</code>
<li><code>--memoryBacking</code>
</ul>
These options are described in more detail
<a href='Running.html#MemoryModes'>here</a>.
<script>
function show(n)
{
document.getElementById(n).style.display = 'block';
}
function unshow(n)
{
document.getElementById(n).style.display = 'none';
}
function unshowAll()
{
for(i=0; i<11; i++) {
unshow(i);
}
}
</script>
<p>
<button onclick='unshowAll(0); show(0);'>Start over</button>
<div id=0 style='display:none'>
<p>
What system are you using?
<p>
<button onclick='unshow(0); show(2)'>Linux</button>
<p>
<button onclick='unshow(0); show(1)'>MacOS</button>
<p>
<button onclick='unshow(0); show(2)'>Window, under Windows Subsystem for Linux (WSL)</button>
</div>
<div id=1 style='display:none'>
<p>
Memory modes are not supported on MacOS.
Do not use options <code>--memoryMode</code>
and <code>--memoryBacking</code>.
</div>
<div id=2 style='display:none'>
<p>
Is this a large run for which performance is important?
<p>
<button onclick='unshow(2); show(6)'>Yes</button>
<p>
<button onclick='unshow(2); show(3)'>No</button>
</div>
<div id=3 style='display:none'>
Do you want to do postprocessing using the Python API or the http server?
<p>
<button onclick='unshow(3); show(4)'>No</button>
<p>
<button onclick='unshow(3); show(5)'>Yes</button>
</div>
<div id=4 style='display:none'>
<p>
Use options <code>--memoryMode anonymous --memoryBacking 4K</code>.
</div>
<div id=5 style='display:none'>
<p>
Use options <code>--memoryMode filesystem --memoryBacking disk</code>.
</div>
<div id=6 style='display:none'>
Do you have root access via <code>sudo</code>?
<p>
<button onclick='unshow(6); show(8)'>No</button>
<p>
<button onclick='unshow(6); show(7)'>Yes</button>
</div>
<div id=7 style='display:none'>
<p>
Use options <code>--memoryMode filesystem --memoryBacking 2M</code>.
When done using the data in memory, clean them up
using <code>shasta --command cleanupBinaryData</code>.
</div>
<div id=8 style='display:none'>
Can you tolerate a 30% slowdonw?
<p>
<button onclick='unshow(8); show(9)'>No</button>
<p>
<button onclick='unshow(8); show(10)'>Yes</button>
</div>
<div id=9 style='display:none'>
<p>
Get root privilege via <code>sudo</code>, then go through this dialog again.
</div>
<div id=10 style='display:none'>
Do you want to do postprocessing using the Python API or the http server?
<p>
<button onclick='unshow(10); show(4)'>No</button>
<p>
<button onclick='unshow(10); show(9)'>Yes</button>
</div>
<div id=11 style='display:none'>
<p>
Use options <code>--memoryMode anonymous --memoryBacking 4K</code>.
</div>
<script>
show(0)
</script>
<div class="goto-index"><a href="index.html">Table of contents</a></div>
</main>
</body>
</html>
|