This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Source = @" | |
using System; | |
using System.Runtime.InteropServices; | |
namespace ProcDump { | |
public static class DbgHelp { | |
[DllImport("Dbghelp.dll")] | |
public static extern bool MiniDumpWriteDump(IntPtr hProcess, uint ProcessId, IntPtr hFile, IntPtr DumpType, IntPtr ExceptionParam, IntPtr UserStreamParam, IntPtr CallbackParam); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Insert the following code into the *.VMX file: | |
sched.mem.pshare.enable = "FALSE" | |
mainMem.useNamedFile = "FALSE" | |
prefvmx.minVmMemPct = "100" | |
prefvmx.useRecommendedLockedMemSize = "TRUE" | |
mainMem.partialLazySave = "FALSE" | |
mainMem.partialLazyRestore = "FALSE" | |
priority.grabbed = "high" | |
priority.ungrabbed = "normal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put these in your VM VMX file | |
mainmem.backing = "swap" # Disable swap | |
MemTrimRate = "0" # Disable returning unused memory | |
sched.mem.pshare.enable = "FALSE" # Disable page sharing | |
prefvmx.useRecommendedLockedMemSize = "TRUE" # Force memory to be pre-allocated on host | |
scsi0.virtualDev = "pvscsi" # Fasted disk i/o subsystem (requires driver off pvscsi.flp floppy disk image) | |
scsi0:0.virtualSSD = 1 # If running off an SSD | |
MemAllowAutoScaleDown = "FALSE" | |
ulm.disableMitigations="TRUE" # Disable side-channel mitigations | |
ethernet0.virtualDev = "vmxnet3" # Use paravirtualized network adapter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu 24.04 not yet supported: https://github.com/intel/linux-npu-driver/releaseshttps://github.com/intel/linux-npu-driver/releases | |
FROM ubuntu:22.04 | |
# Dependencies | |
RUN : \ | |
&& apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
--no-install-recommends \ | |
libtbb12 \ | |
python3-venv \ |