Skip to content

Commit 983ebdf

Browse files
committed
Console WebUI demonstrated
1 parent 0a6228e commit 983ebdf

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Demo of the *scheduling with cache L1 maximization* for single-threaded processe
6565

6666
Demo of the WebUI for the Jobs and Tasks tracing and profiling:
6767
![WebUI, Falures page (root)](images/webui.png)
68+
Exactly the same fully funcitonal interface is accessible from the console using [w3m](http://w3m.sourceforge.net/) or other terminal browsers:
69+
![WebUI Console, Falures page (root)](images/webui_console.png)
6870

6971

7072
## Requirements

images/webui_console.png

65.2 KB
Loading

mpepool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,8 @@ def __init__(self, wksnum=max(_CPUS-1, 1), afnmask=None, memlimit=0., latency=0.
14931493
#uiapp = WebUiApp(host='localhost', port=8080, name='MpepoolWebUI', daemon=True)
14941494
self._uicmd = webuiapp.cmd
14951495
if WebUiApp.RAM is None:
1496-
WebUiApp.RAM = _RAM_SIZE
1496+
# Note: it's more reasonable to display the specified RAM limit than available memory
1497+
WebUiApp.RAM = _RAM_LIMIT # _RAM_SIZE
14971498
if WebUiApp.LCPUS is None:
14981499
WebUiApp.LCPUS = AffinityMask.CPUS
14991500
if WebUiApp.CPUCORES is None:

0 commit comments

Comments
 (0)