This is an old revision of the document!
Table of Contents
STATUS updates
TODO
- update grade not-z scripts to handle/be aware of winter terms
- update system page for (new)www
- scripts to write:
- user homedir backup pruning script
- deploy studentlistcreate as a cron job once again
- machine backup pruning script
- status page monthly cycle script
- revive gimmeh script, now that text access seems possible
- manual pages to write:
- lab46 usage tutorial
- include mercurial repository checkout info
- include irc class chat tutorial
- data structures, sll/dll library functions as their own manual pages
URLs
Some links of interest:
- Divergent Thinking
- Socket Programming
- ALIX
- http://www.martinmellor.com/freebies/pinouts/IDE44_2_5_pinout.htm (IDE 44-pin pin-out)
- BeagleBoard
- Xen
- http://www.tumfatig.net/20110125/running-openbsd-on-xen/ (OpenBSD HVM)
- Free Data Structures eBook: http://dotnetslackers.com/Community/files/folders/data-structures-and-algorithms/entry30283.aspx
- Polyphasic Sleep and Napping
- Brain Hacks
- BASH sockets
- Debian Jessie daily builds (June 25th): http://d-i.debian.org/daily-images/amd64/20140625-00:18/netboot/gtk/debian-installer/amd64/
- Nettle/libhogweed crypto: http://www.lysator.liu.se/~nisse/nettle/nettle.html#Example
- Zeo
- rxvt / .Xresources
Other Days
March 6th, 2018
Aside from an attempt at restarting my status-reporting habits in January of 2017, I totally neglected it for the remainder of the year.
So here we go, attempting another go. Will we be successful?
pods configured for better SSD operation
In other recent projects, I encountered some useful configuration options to improve performance, and avoid some anti-longevity side-effects of default settings.
I ended up taking a Debian USB installer, booting each pod in rescue mode, getting to a prompt, and running the following on EACH:
# umount / # tune2fs -O ^has_journal /dev/sda1 # tune2fs -o discard /dev/sda1
Then on the master nodes, I enhanced both /etc/fstab and /etc/rc.local as follows:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda1 / ext4 noatime,nodiratime,discard,commit=600,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0 tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
Note how I put the log files in RAM too (on the pods)… this should greatly reduce extraneous writes.
Then at the bottom of /etc/rc.local, I added:
#!/bin/sh -e # # rc.local # IPADDR= while [ -z "${IPADDR}" ]; do IPADDR=`/usr/local/bin/iface | /bin/grep -v 'lo' | /usr/bin/head | /usr/bin/cut -d' ' -f2` sleep 1 done /bin/hostname `/usr/bin/host ${IPADDR} | /usr/bin/cut -d' ' -f5 | /bin/sed s/\.$//` /usr/bin/host ${IPADDR} | /usr/bin/cut -d' ' -f5 | /bin/sed s/\.$// > /etc/hostname echo "${IPADDR} `cat /etc/hostname`" > /etc/hosts echo "127.0.0.1 localhost" >> /etc/hosts echo "10.80.2.46 lab46.g7n.org lab46.corning-cc.edu" >> /etc/hosts echo deadline > /sys/block/sda/queue/scheduler echo 1 > /sys/block/sda/queue/iosched/fifo_batch exit 0
As the deadline scheduler has frequent mention of usage with SSDs.
Useful URLs: