This shows you the differences between two versions of the page.
|
ep:labs:04:contents:tasks:ex3 [2026/03/23 23:47] maria.popescu2812 [03. [30p] Kernel Samepage Merging] |
ep:labs:04:contents:tasks:ex3 [2026/03/24 11:36] (current) radu.mantu |
||
|---|---|---|---|
| Line 61: | Line 61: | ||
| === [10p] Task C - Plot results === | === [10p] Task C - Plot results === | ||
| - | Now that you’ve observed the effects of KSM using vmstat, it’s time to visualize them. Solve the TOOs from [[https://github.com/cs-pub-ro/EP-labs/blob/master/content/memory/Task03/ksm/plot.py|here]] to generate a real-time plot that shows free memory, used memory, and memory used as a buffer over time, based on the freemem column from the output of the vmstat command. | + | Now that you’ve observed the effects of KSM using vmstat, it’s time to visualize them. Solve the TODOs from plot.py from skeleton to generate a real-time plot that shows free memory, used memory, and memory used as a buffer over time, based on the freemem column from the output of the vmstat command. |
| - | + | ||
| + | <note tip> | ||
| + | **Troubleshooting** | ||
| + | ----- | ||
| + | If you get something resembling ''Could not load the Qt platform plugin "xcb" in "" even though it was found.'' on either WSL or certain Linux environments (e.g., having Hyprland as a Wayland compositor), check out | ||
| + | [[https://blinq.hashnode.dev/fixing-xcb-load-failures-in-pyqt5-on-windows-subsystem-for-linux-wsl|this post]]. | ||
| + | </note> | ||