Skip to content

Instantly share code, notes, and snippets.

View strnan's full-sized avatar
🎯
Focusing

STR-NaN strnan

🎯
Focusing
View GitHub Profile
@lewdeusdev
lewdeusdev / cosmprund_instructions.md
Last active June 5, 2024 14:11
Cosmd Prune for Initia Testnet

Cosmprund

Summary

cosmprund is a tool designed to prune a Tendermint database of blocks and a Cosmos-SDK application database of all but the last X versions.

This helps users avoid the need to state sync every few days.

While it currently supports a subset of modules, it effectively prunes the default SDK module and the Osmosis added module.

Note that due to inefficiencies in IAVL and the simple approach of this tool, pruning large nodes can take a significant amount of time. The team is working on integrating this functionality natively into the Cosmos-SDK and Tendermint.

@dlqqq
dlqqq / ryzen_bug.md
Last active June 23, 2025 08:51 — forked from wmealing/C-states.md
AMD Ryzen "Freezing" Bug on GNU/Linux Systems

Random "Freezing" with AMD Ryzen CPUs

It seems that numerous GNU/Linux users (including myself) have been having issues with the system randomly "freezing" during light usage. From journalctl output and anecdotal accounts, it is speculated that the AMD Ryzen CPUs do not support other C-states for power management very well (at least on GNU/Linux distributions), and the freezing may be resolved by limiting the C-state of the CPU.

Possible Solution

Limiting the C-state of the CPU can be done through the addition of the following kernel boot parameter.

processor.max_cstate=1