Latest revision |
Your text |
Line 21: |
Line 21: |
| | | |
| we need to go deeper[[Special:Contributions/162.158.59.173|162.158.59.173]] 04:27, 27 November 2016 (UTC)Guest User that doesn't know what they're doing | | we need to go deeper[[Special:Contributions/162.158.59.173|162.158.59.173]] 04:27, 27 November 2016 (UTC)Guest User that doesn't know what they're doing |
− |
| |
− | The current explanation doesn't clarify "containers;" I expect Randall is thinking of [https://en.wikipedia.org/wiki/Operating-system-level_virtualization a software container] which allows you to deploy a service such as a database engine in isolation from other services using a minimum of resources. This comic makes me think of my experience trying to use [https://en.wikipedia.org/wiki/Docker_(software) Docker] on Windows. Docker is among the most popular software container systems, but is tightly bound to Linux, so deploying a Docker container under Windows (or Mac OS X) requires that you first deploy a virtual machine, thus negating some of the benefit of using containers and pushing the software running in the container down yet another level. [[User:Davidhbrown|Davidhbrown]] ([[User talk:Davidhbrown|talk]]) 19:11, 27 November 2016 (UTC)
| |
− |
| |
− | Protecting seeds, especially light ones that autorotate, from fall damage seems pretty far-fetched. The autorotation of seeds more likely serves to increase the time they take to fall, thus increasing the distance they travel in the wind. [[Special:Contributions/108.162.241.53|108.162.241.53]] 13:14, 28 November 2016 (UTC)
| |
− |
| |
− | I wrote this a while back which nests KVM indefinitely -- or at least in theory, in practice I can only get to L4 on hardware I have available. http://git.annexia.org/?p=supernested.git;a=summary [[Special:Contributions/141.101.98.219|141.101.98.219]] 18:12, 28 November 2016 (UTC)
| |
− |
| |
− | A slightly simpler, but more error prone script.
| |
− | #!/bin/bash
| |
− | # If you hate yourself, (DO NOT DO THIS) set file=/dev/sda and add this script to init. Expect corruption.
| |
− | # Untested, though I came close to running it on accident.
| |
− | VM_Drive='format=raw,file=__Enter_A_Modified_Run_From_Ram_Img__,if=virtio'
| |
− | MemAvail=$(free -m | grep '^Mem:' | awk '{print $7}')
| |
− | MemUsed=$(free -m | grep '^Mem:' | awk '{print $3}')
| |
− | VM_Mem=$(echo "$MemAvail - 10" | bc -l)
| |
− | ProcessorCnt=$(grep '^processor' /proc/cpuinfo | wc -l)
| |
− |
| |
− | if <nowiki>[[ "$VM_Mem" -ge "$MemUsed" ]]</nowiki> ; then
| |
− | echo "-------------Still have ${MemAvail}M and only using ${MemUsed}M. Spinning up another!-------------"
| |
− | qemu-system-x86_64 --enable-kvm -cpu host -smp $ProcessorCnt -m $VM_Mem -drive $VM_Drive
| |
− | else
| |
− | echo "!!!!!!!!!!!!!Only have ${MemAvail}M and using ${MemUsed}M. Not spinning up any more!!!!!!!!!!!!!!"
| |
− | fi
| |
− | [[Special:Contributions/108.162.221.117|108.162.221.117]] 13:27, 29 November 2016 (UTC)
| |