Skip to content

Instantly share code, notes, and snippets.

@mixman68
mixman68 / vmware-no-vmem.md
Created October 22, 2019 17:32 — forked from extremecoders-re/vmware-no-vmem.md
Boost VMWare Performance by disabling vmem files.

Prevent creation of vmmem files in VmWare

Issue

VMWare creates .vmem files to back the guest RAM. On the host this causes disk thrashing especially during powering on and off the guest.

Solution

Add the following lines to the .vmx file to prevent creation of .vmem files. This will reduce disk IO and VM performance will improve especially on non-SSD disks.

@mixman68
mixman68 / list-user-installed-packages.sh
Created September 23, 2017 21:59 — forked from alfredkrohmer/list-user-installed-packages.sh
List all user-installed packages on OpenWrt / LEDE
#!/bin/sh
FLASH_TIME=$(opkg info busybox | grep '^Installed-Time: ')
for i in $(opkg list-installed | cut -d' ' -f1)
do
if [ "$(opkg info $i | grep '^Installed-Time: ')" != "$FLASH_TIME" ]
then
echo $i
fi