nndocs:initial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nndocs:initial [2024/07/08 02:11] – [Sanitize network interface names] clarify ibX interfaces naptastic | nndocs:initial [2024/12/05 18:16] (current) – stub out thing naptastic | ||
---|---|---|---|
Line 3: | Line 3: | ||
Partitioning: | Partitioning: | ||
- | Remember to add / | + | Add / |
+ | |||
+ | ====Move ~ to a BTRFS subvolume==== | ||
+ | Separate snapshotting the OS from snapshotting your files. | ||
====SSH key for root==== | ====SSH key for root==== | ||
Line 12: | Line 15: | ||
====Reconfigure SSH==== | ====Reconfigure SSH==== | ||
Configure ssh for a high-numbered port, and not to allow password-based logins. Restart sshd. Verify that 'ssh root@localhost' | Configure ssh for a high-numbered port, and not to allow password-based logins. Restart sshd. Verify that 'ssh root@localhost' | ||
+ | |||
+ | ====Backups==== | ||
+ | Create / | ||
+ | |||
+ | # / was on / | ||
+ | UUID=some-long-string / | ||
+ | UUID=some-long-string / | ||
====Install Shorewall==== | ====Install Shorewall==== | ||
Line 53: | Line 63: | ||
bison flex libssl-dev ncurses-dev libelf-dev | bison flex libssl-dev ncurses-dev libelf-dev | ||
- | ====Sanitize network interface names==== | + | ====Networking==== |
+ | ===Device Names=== | ||
ln -s /dev/null / | ln -s /dev/null / | ||
Line 70: | Line 81: | ||
* emoX for ports on the motherboard | * emoX for ports on the motherboard | ||
* enX for (multi-)gigabit stand-up cards | * enX for (multi-)gigabit stand-up cards | ||
- | * mlxX for Mellanox devices in Ethernet mode | ||
* ibX for InfiniBand IPoIB devices (these do not need .link files though) | * ibX for InfiniBand IPoIB devices (these do not need .link files though) | ||
+ | * mlxX for Mellanox devices in Ethernet mode | ||
+ | |||
+ | ===Port Conventions=== | ||
+ | X is 0-indexed. Port 0 on a stand-up card is the farthest from the motherboard. On a motherboard, | ||
+ | |||
+ | ===InfiniBand=== | ||
+ | * [[infiniband]] | ||
+ | * mst* installer | ||
+ | * copy production opensm configuration in case you have take over as SM | ||
+ | * (what needs to change here for VMs using virtual functions?) | ||
+ | |||
+ | Comment out svcrdma in / | ||
+ | |||
+ | ===Ethernet configuration=== | ||
+ | Is a total mess right now. I don't know what I'm doing or how I want to do it. | ||
+ | |||
+ | ====Hugepages==== | ||
+ | Useful for databases, PHP, Factorio, and probably other things! Add something like this to / | ||
+ | |||
+ | vm.nr_hugepages=512 | ||
+ | |||
+ | To make a non-persistent change, | ||
- | X is 0-indexed. Port 0 on a stand-up card is the farthest from the motherboard. On a motherboard, | + | sysctl |
- | ====Network configuration==== | + | Make sure your locked memory limit is equal to or greater than the amount of RAM you're reserving for hugepages. |
- | if I ever figure out how I want to do this, I will certainly let you know! | + | |
====Shell profile==== | ====Shell profile==== | ||
Line 87: | Line 118: | ||
====Email==== | ====Email==== | ||
lol, not yet | lol, not yet | ||
- | |||
- | ====InfiniBand==== | ||
- | [[infiniband]] | ||
- | * mst* installer | ||
- | * copy production opensm configuration in case you have take over as SM | ||
- | * (what needs to change here for VMs using virtual functions?) | ||
- | |||
- | Comment out svcrdma in / | ||
====Disable TTY screen blanking==== | ====Disable TTY screen blanking==== |
nndocs/initial.1720404696.txt.gz · Last modified: 2024/07/08 02:11 by naptastic