Hey everyone, Today's post is for those who like to tinker a bit deeper with their system's performance, especially on Linux. I've put together a Python script called `smt_manager.py` that allows you to view and toggle the state of your CPU's logical processors (often known by Intel's term, Hyper-Threading, or AMD's Simultaneous Multi-Threading - SMT). ## What's SMT/Hyper-Threading and Why Mess With It?  Most modern CPUs present more "cores" to the operating system than they physically have. For instance, an 8-core CPU might show up as 16 "processors." This is typically achieved by each physical core being able to handle two threads simultaneously – one primary thread and one logical (or SMT/hyper-thread). For many everyday tasks and general multitasking, this is great! It can improve overall system responsiveness and throughput. However, there are specific situations where having these logical cores enabled can actually be detrimental to performance, or at least not beneficial: - **Certain High-Performance Computing (HPC) Workloads:** Some computationally intensive tasks, especially those that are heavily reliant on floating-point performance or specific cache behaviors, might see no improvement or even a slight degradation with SMT enabled. The two threads on a single physical core share resources, and this contention can sometimes outweigh the benefits. - **Specific Benchmarks:** You might find that some benchmarks give you "better" (or at least more consistent) scores with logical cores turned off, as it ensures each running process has dedicated access to a full physical core's resources without sharing. - **Some Gaming Scenarios:** While less common now, some older games or even specific modern titles might exhibit slightly more stable framerates or reduced micro-stuttering with SMT disabled, particularly if the game isn't optimized to effectively use a high number of logical cores and prefers fewer, more powerful physical cores. - **Virtualization:** Depending on the virtualization software and the workloads running in your VMs, you might find that assigning only physical cores to demanding VMs can lead to more predictable performance. The ability to easily toggle these logical cores on or off without rebooting and going into the BIOS/UEFI can be handy for testing these scenarios or optimizing for specific tasks. ## Introducing `smt_manager.py`  This Python script is designed to do just that on Linux systems. It directly interacts with the `/sys/devices/system/cpu/` interface to: 1. Identify all available CPU processors. 2. Determine which are "primary" (physical) cores and which are "logical" (SMT/hyper-threaded) cores. 3. Display the current online/offline status of each processor. 4. Allow you to set all logical cores to either "online" (enabled) or "offline" (disabled). **Important Note:** Changing CPU states requires root privileges. So, you'll need to run the script with `sudo`. ## The Code: Here's the [GitHub Gist](https://gist.github.com/TheCrazyGM/9636e8eacc0e46b39e747efbe4b68d6a) and the script itself: ```python #!/usr/bin/env python3 # smt-manager.py - a script for managing logical cores # Python implementation of the original Perl script by Steven Barrett # https://github.com/damentz/smt-manager import argparse import os import subprocess import sys # This is the top folder where CPUs can be enumerated and more detail retrieved SYS_CPU = "/sys/devices/system/cpu" DEBUG = False def get_cpu_indexes() -> list[int]: """ Get a list of CPU indexes by reading the system CPU directory Returns: list[int]: A sorted list of CPU indexes """ try: cpu_dirs = [ d for d in os.listdir(SYS_CPU) if d.startswith("cpu") and d[3:].isdigit() ] cpu_indexes = [int(d[3:]) for d in cpu_dirs] return sorted(cpu_indexes) except OSError as e: sys.exit(f"Cannot open folder: {SYS_CPU}. Error: {e}") def get_cpu_settings() -> dict[int, dict[str, str]]: """ Get settings for all CPUs including core type and power state Returns: dict[int, dict[str, str]]: A dictionary mapping CPU indexes to their settings, where each setting is a dictionary with 'core_type' and 'power' keys """ cpu_indexes = get_cpu_indexes() cpus = {} for cpu in cpu_indexes: siblings_file = f"{SYS_CPU}/cpu{cpu}/topology/thread_siblings_list" power_file = f"{SYS_CPU}/cpu{cpu}/online" cpu_settings = {"core_type": "unknown", "power": "offline"} # Populate core topology, primary / logical try: with open(siblings_file, "r") as f: siblings_line = f.readline().strip() # Handle both comma-separated and hyphen-separated formats if "," in siblings_line: siblings = [int(s) for s in siblings_line.split(",")] elif "-" in siblings_line: start, end = map(int, siblings_line.split("-")) siblings = list(range(start, end + 1)) else: siblings = [int(siblings_line)] if cpu == siblings[0]: cpu_settings["core_type"] = "primary" else: cpu_settings["core_type"] = "logical" except (OSError, IOError): if DEBUG: print(f"[ERROR] Could not open: {siblings_file}") # Populate core status, online / offline try: # CPU0 is always online and doesn't have an 'online' file if cpu == 0: cpu_settings["power"] = "online" else: with open(power_file, "r") as f: cpu_power = f.readline().strip() if cpu_power == "1": cpu_settings["power"] = "online" except (OSError, IOError): if DEBUG: print(f"[ERROR] Could not open: {power_file}, assuming online") cpu_settings["power"] = "online" cpus[cpu] = cpu_settings return cpus def set_logical_cpus(power_state: str) -> bool: """ Set all logical CPUs to the specified power state (online/offline) Args: power_state (str): The desired power state ('online' or 'offline') Returns: bool: True if any CPU state was changed, False otherwise """ cpus = get_cpu_settings() state_changed = False changed_cpus = [] for cpu in sorted(cpus.keys()): # Skip CPU0 as it can't be disabled if cpu == 0: continue if ( cpus[cpu]["core_type"] == "logical" or cpus[cpu]["core_type"] == "unknown" ) and cpus[cpu]["power"] != power_state: power_file = f"{SYS_CPU}/cpu{cpu}/online" try: with open(power_file, "w") as f: state_changed = True print(f"Setting CPU {cpu} to {power_state} ... ", end="") if power_state == "online": f.write("1") elif power_state == "offline": f.write("0") changed_cpus.append(cpu) print("done!") except (OSError, IOError): print( f"[ERROR] failed to open file for writing: {power_file}. Are you root?" ) if state_changed: # Rebalance the interrupts after power state changes try: subprocess.run(["irqbalance", "--oneshot"], check=True) except (subprocess.SubprocessError, FileNotFoundError): print( "[ERROR] Failed to balance interrupts with 'irqbalance --oneshot', " "you may experience strange behavior.", file=sys.stderr, ) print() return state_changed def pretty_print_topology() -> None: """ Print the current CPU topology in a readable format using only standard library """ cpus = get_cpu_settings() # Get the maximum width needed for each column cpu_width = max(len(str(cpu)) for cpu in cpus.keys()) type_width = max(len(cpus[cpu]["core_type"]) for cpu in cpus.keys()) power_width = max(len(cpus[cpu]["power"]) for cpu in cpus.keys()) # Add header width to the calculation cpu_width = max(cpu_width, len("CPU")) type_width = max(type_width, len("Core Type")) power_width = max(power_width, len("Power State")) # Calculate total table width for the title total_width = cpu_width + type_width + power_width + 8 # 8 for borders and padding # Print table title print("CPU Topology".center(total_width)) print("-" * total_width) # Print header print( f" {'CPU':<{cpu_width}} | {'Core Type':<{type_width}} | {'Power State':<{power_width}} " ) print(f" {'-' * cpu_width} | {'-' * type_width} | {'-' * power_width} ") # Print rows for cpu in sorted(cpus.keys()): print( f" {cpu:<{cpu_width}} | {cpus[cpu]['core_type']:<{type_width}} | {cpus[cpu]['power']:<{power_width}} " ) print() def main() -> None: parser = argparse.ArgumentParser( description="View current status of CPU topology or set logical cores to offline or online.", epilog="This script provides details about whether each CPU is physical or logical. " "When provided an optional parameter, the logical CPUs can be enabled or disabled.", ) group = parser.add_mutually_exclusive_group() group.add_argument( "--online", action="store_true", help="Enables all logical CPU cores" ) group.add_argument( "--offline", action="store_true", help="Disables all logical CPU cores" ) parser.add_argument("--debug", action="store_true", help="Enable debug output") args = parser.parse_args() global DEBUG DEBUG = args.debug power_state = None if args.online: power_state = "online" elif args.offline: power_state = "offline" pretty_print_topology() if power_state and set_logical_cpus(power_state): # If there was a change, print the new state pretty_print_topology() if __name__ == "__main__": # Check if running as root, which is required for changing CPU states if os.geteuid() != 0 and ( len(sys.argv) > 1 and ("--online" in sys.argv or "--offline" in sys.argv) ): print("You need to have root privileges to change CPU states.") print("Please run the script with sudo or as root.") sys.exit(1) main() ``` ## How to Use It: 1. Save the code above as a Python file (e.g., `smt_manager.py`). 2. Make it executable: `chmod +x smt_manager.py` 3. Run it: - To view current topology: `sudo ./smt_manager.py` - To disable logical cores: `sudo ./smt_manager.py --offline` - To enable logical cores: `sudo ./smt_manager.py --online` - For debug output: `sudo ./smt_manager.py --debug` (or add it to the online/offline commands) The script will print the CPU topology before, and if changes are made, it will print the new topology afterward. It also attempts to run `irqbalance --oneshot` after changing CPU states to help rebalance system interrupts, which is generally a good idea. This is definitely a more advanced tool, but for those who need this kind of control for specific performance tuning or testing on Linux, it can be quite handy. Let me know if you've found other interesting use cases for toggling SMT! As always, Michael Garcia a.k.a. TheCrazyGM
author | thecrazygm | ||||||
---|---|---|---|---|---|---|---|
permlink | geek-out-a-python-tool-to-toggle-your-cpus-logical-cores-smt-manager | ||||||
category | hive-186392 | ||||||
json_metadata | {"app":"peakd/2025.5.9","format":"markdown","tags":["dev","tribes","archon","proofofbrain","pimp"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/thecrazygm/Enyoz36A9t6dQdFakaK6KZ69a9rrSS39KtAQwJ1EugT3HQDZHr7hjm18WL9D71V1YtE.png","https://files.peakd.com/file/peakd-hive/thecrazygm/23swigsaP1ZcyScQP3qKmPVRVprGVgBuFoKdmCHvGgpzTEbiZothtSyqA6A48rUzUUuhB.png"]} | ||||||
created | 2025-05-31 15:51:18 | ||||||
last_update | 2025-05-31 15:51:18 | ||||||
depth | 0 | ||||||
children | 7 | ||||||
last_payout | 2025-06-07 15:51:18 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 4.458 HBD | ||||||
curator_payout_value | 5.225 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 11,943 | ||||||
author_reputation | 89,215,812,372,498 | ||||||
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 143,082,260 | ||||||
net_rshares | 32,345,371,666,376 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jacor | 0 | 22,361,108,075 | 50% | ||
eforucom | 0 | 21,154,468,234 | 100% | ||
moretea | 0 | 4,658,349,285 | 10% | ||
gamer00 | 0 | 19,528,637,053 | 5% | ||
thatsweeneyguy | 0 | 456,402,543 | 100% | ||
mes | 0 | 509,190,902,308 | 25% | ||
iansart | 0 | 2,160,247,553 | 50% | ||
calmphoenix | 0 | 1,468,883,750 | 30% | ||
ecoinstant | 0 | 145,914,012,115 | 100% | ||
cryptoknight12 | 0 | 51,114,062,909 | 100% | ||
robtheranger | 0 | 5,901,219,426 | 100% | ||
joeyarnoldvn | 0 | 451,724,019 | 1.47% | ||
grocko | 0 | 984,773,180 | 1% | ||
eturnerx | 0 | 271,769,864,317 | 20.4% | ||
codingdefined | 0 | 665,485,518,278 | 100% | ||
pixelfan | 0 | 50,877,894,002 | 5.8% | ||
likedeeler | 0 | 243,219,760,479 | 100% | ||
noloafing | 0 | 3,036,037,214 | 49.76% | ||
niallon11 | 0 | 729,740,782,854 | 100% | ||
accelerator | 0 | 59,036,495,554 | 60% | ||
steemmillionaire | 0 | 1,117,445,877,858 | 100% | ||
artlover | 0 | 1,691,249,357 | 100% | ||
tomiscurious | 0 | 26,240,219,017 | 4.5% | ||
votehero | 0 | 26,832,463,829 | 5.4% | ||
msp-makeaminnow | 0 | 26,788,420,456 | 29.1% | ||
coolguy123 | 0 | 2,548,698,608 | 1% | ||
mytechtrail | 0 | 19,385,860,169 | 15% | ||
jozefkrichards | 0 | 5,103,677,977 | 50% | ||
sneakyninja | 0 | 18,588,546,934 | 24.88% | ||
steembasicincome | 0 | 7,584,936,900,741 | 100% | ||
deepresearch | 0 | 659,228,997,940 | 16% | ||
hetty-rowan | 0 | 43,920,186,215 | 50% | ||
irisworld | 0 | 1,175,187,794 | 7.5% | ||
bengy | 0 | 2,548,511,226 | 3% | ||
edicted | 0 | 7,254,345,977,969 | 100% | ||
aakom | 0 | 428,968,321 | 100% | ||
jazzhero | 0 | 551,459,762 | 0.75% | ||
fireguardian | 0 | 576,221,386 | 20% | ||
anikys3reasure | 0 | 2,787,309,961 | 50% | ||
jglake | 0 | 6,701,674,406 | 20% | ||
abrockman | 0 | 1,794,453,504,989 | 100% | ||
ravenmus1c | 0 | 1,995,461,356 | 0.1% | ||
adamada | 0 | 1,923,468,285 | 1% | ||
sbi2 | 0 | 56,472,206,480 | 1.06% | ||
braaiboy | 0 | 123,887,411,079 | 25% | ||
awesomegames007 | 0 | 1,416,655,295 | 50% | ||
beco132 | 0 | 1,645,563,474 | 54% | ||
fw206 | 0 | 3,061,519,672,188 | 35% | ||
netzisde | 0 | 4,189,452,776 | 100% | ||
steemkeepers | 0 | 10,849,584,417 | 100% | ||
sgbonus | 0 | 11,368,935,957 | 16% | ||
bububoomt | 0 | 6,571,576,576 | 100% | ||
thedailysneak | 0 | 25,361,769,884 | 24.88% | ||
teamvn | 0 | 7,464,436,647 | 5.83% | ||
cubapl | 0 | 3,726,849,287 | 30% | ||
voxmortis | 0 | 11,214,292,508 | 6% | ||
a-bot | 0 | 13,662,660,647 | 30% | ||
ravensavage | 0 | 4,925,477,902 | 49.76% | ||
mk992039 | 0 | 616,169,344 | 4% | ||
guurry123 | 0 | 6,996,632,322 | 10% | ||
ecoinstats | 0 | 899,758,535,817 | 100% | ||
athunderstruck | 0 | 4,022,668,226 | 10% | ||
piestrikesback | 0 | 761,287,853 | 100% | ||
buildingpies | 0 | 52,859,574,215 | 100% | ||
slothlydoesit | 0 | 16,793,332,012 | 10% | ||
anonsteve | 0 | 7,198,855,782 | 50% | ||
thearned | 0 | 12,487,288,522 | 100% | ||
baasdebeer | 0 | 18,275,922,622 | 100% | ||
instagram-models | 0 | 502,513,509,252 | 100% | ||
afternoondrinks | 0 | 18,853,381,703 | 100% | ||
ilanisnapshots | 0 | 12,091,833,569 | 100% | ||
bigmoneyman | 0 | 516,030,415 | 30% | ||
gurseerat | 0 | 5,204,143,896 | 20% | ||
lrekt01 | 0 | 6,497,642,195 | 80% | ||
everythingsmgirl | 0 | 7,738,218,215 | 50% | ||
maddogmike | 0 | 15,686,350,219 | 10% | ||
sbi-tokens | 0 | 54,999,660,202 | 49.76% | ||
successchar | 0 | 2,630,052,124 | 10% | ||
elianaicgomes | 0 | 4,800,940,511 | 5% | ||
bilpcoin.pay | 0 | 546,038,639 | 10% | ||
qwertm | 0 | 5,408,234,049 | 50% | ||
neoxvoter | 0 | 2,971,959,392 | 25% | ||
treasure.hoard | 0 | 142,933,741,480 | 100% | ||
dpend.active | 0 | 3,793,666,417 | 10% | ||
hivetrending | 0 | 6,629,788,213 | 1.5% | ||
ykretz | 0 | 1,378,317,701 | 15% | ||
thepeakstudio | 0 | 514,903,219 | 10% | ||
hextech | 0 | 351,329,572,606 | 100% | ||
sketching | 0 | 7,184,925,895 | 50% | ||
debbie-ese | 0 | 4,505,449,660 | 100% | ||
kiemis | 0 | 9,078,812,454 | 2.5% | ||
woelfchen | 0 | 149,080,504,683 | 35% | ||
hivehustlers | 0 | 4,867,534,159 | 20% | ||
archon-gov | 0 | 94,685,139,739 | 50% | ||
jilt | 0 | 20,278,446,011 | 50% | ||
rudy-dj | 0 | 2,710,822,450 | 30% | ||
he-index | 0 | 21,219,567,452 | 10% | ||
dadspardan | 0 | 765,359,844 | 1% | ||
youloseagain | 0 | 834,456,756 | 5% | ||
szukamnemo | 0 | 25,927,986,204 | 8% | ||
huzzah | 0 | 554,368,502 | 2% | ||
thecryptopimp | 0 | 4,815,398,846 | 20% | ||
tokenpimp | 0 | 260,193,893,841 | 20% | ||
pimptoken | 0 | 3,595,443,272 | 20% | ||
wynella | 0 | 11,401,600,759 | 25% | ||
pimp.token | 0 | 2,253,026,628 | 20% | ||
cryptoniusrex | 0 | 25,647,216,711 | 100% | ||
hive.pizza | 0 | 85,924,565,583 | 2% | ||
ichheilee | 0 | 30,603,990,686 | 100% | ||
egistar | 0 | 1,006,185,568 | 4% | ||
dibblers.dabs | 0 | 45,516,864,593 | 10% | ||
esbat | 0 | 3,463,426,389 | 20% | ||
wongi | 0 | 52,285,399,893 | 50% | ||
adulruna | 0 | 2,953,844,384 | 100% | ||
vrezyy | 0 | 8,595,317,954 | 25% | ||
tub3r0 | 0 | 756,739,962 | 10% | ||
mxm0unite | 0 | 1,615,148,239 | 50% | ||
dstampede | 0 | 1,995,033,911 | 100% | ||
dawan | 0 | 1,695,336,609 | 100% | ||
techguard | 0 | 501,876,874 | 8% | ||
h3m4n7 | 0 | 556,169,127 | 1.8% | ||
tydynrain | 0 | 17,179,657,037 | 10% | ||
svanbo | 0 | 2,082,274,987 | 1% | ||
herman-german | 0 | 7,498,103,137 | 50% | ||
lothbrox | 0 | 859,123,378 | 100% | ||
marynn | 0 | 1,416,912,635 | 20% | ||
chrisly.social | 0 | 42,275,680,213 | 50% | ||
pimpdistrict | 0 | 988,919,616 | 20% | ||
thepimpdistrict | 0 | 1,797,650,612 | 20% | ||
ryosai | 0 | 5,635,161,481 | 24% | ||
beststart | 0 | 16,152,644,954 | 5% | ||
fonestreet | 0 | 1,882,454,177 | 25% | ||
vrezion | 0 | 466,907,459 | 100% | ||
poplar-22 | 0 | 3,527,120,329 | 25% | ||
monsterrerentals | 0 | 33,241,554,106 | 100% | ||
oasiskp2 | 0 | 9,356,635,707 | 50% | ||
deggial | 0 | 29,461,117,274 | 100% | ||
kasih-sayang | 0 | 898,258,162 | 30% | ||
pof.archon | 0 | 444,861,635 | 50% | ||
slothburn | 0 | 1,310,528,139 | 10% | ||
freecompliments | 0 | 3,108,720,401,318 | 100% | ||
georgesantana73 | 0 | 1,055,324,195 | 100% | ||
tengolotodo.leo | 0 | 5,506,086,059 | 50% | ||
hive-140084 | 0 | 82,496,077,678 | 100% | ||
timix648 | 0 | 965,658,576 | 70% | ||
michaelklinejr | 0 | 11,082,401,044 | 100% | ||
briefmarken | 0 | 51,227,511,562 | 100% | ||
converter.bonus | 0 | 763,062,834 | 50% | ||
pepetoken | 0 | 704,989,943 | 10% | ||
lordnasty | 0 | -15,228,487,424 | -100% | ||
bankrobbery | 0 | 560,856,558 | 50% | ||
fc-curation | 0 | 5,509,560,205 | 100% | ||
fc-rewards | 0 | 3,815,446,030 | 100% | ||
d-a-d | 0 | 9,570,129,301 | 50% | ||
blessskateshop | 0 | 58,385,427,083 | 12% | ||
claudiavb | 0 | 16,513,226,871 | 50% | ||
fc-arbitration | 0 | 771,931,878 | 100% | ||
murtaza-7868 | 0 | 552,869,722 | 50% | ||
lolz.byte | 0 | 0 | 100% | ||
bbarelyseal | 0 | 0 | 100% | ||
indiasierra | 0 | 1,533,732,548 | 50% | ||
magicalex | 0 | 5,619,001,645 | 70% | ||
indeedly | 0 | 3,059,547,999 | 50% | ||
pakx | 0 | 990,347,787,220 | 50% | ||
trovepower | 0 | 2,158,523,568 | 50% | ||
mmbbot | 0 | 2,173,114,582 | 50% | ||
carephree | 0 | 9,720,512,762 | 50% | ||
thecrazygm.bank | 0 | 4,446,770,390 | 100% | ||
magic.byte | 0 | 0 | 100% | ||
sports.power.bot | 0 | 0 | 0.01% |
Amazing custom core manager script! That box of tricks of yours is amazing!! !PAKX !PIMP !PIZZA
author | ecoinstant |
---|---|
permlink | re-thecrazygm-sx4vje |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"peakd/2025.5.9","image":[],"users":[]} |
created | 2025-05-31 16:09:15 |
last_update | 2025-05-31 16:09:15 |
depth | 1 |
children | 1 |
last_payout | 2025-06-07 16:09:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.012 HBD |
curator_payout_value | 0.012 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 97 |
author_reputation | 847,684,553,681,759 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,082,586 |
net_rshares | 79,782,342,739 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 66,100,083,941 | 100% | ||
dustbunny | 0 | 13,682,258,798 | 4.32% |
<center><table><tr></tr><tr><td><center><img src='https://files.peakd.com/file/peakd-hive/pakx/PakX-logo-transparent.png'><p><sup><a href='https://hive-engine.com/?p=market&t=PAKX'>View or trade </a> <code>PAKX</code> tokens.</sup></p></center></td><td><center>@ecoinstant, PAKX has voted the post by @thecrazygm. (1/2 calls)</p><br><br><p>Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on <a href='/@pakx'>PAKX Blog</a>.</p></center></td></tr></table></center>
author | pakx |
---|---|
permlink | re-ecoinstant-1748707793 |
category | hive-186392 |
json_metadata | "{"tags": ["pakx", "hivepakistan"], "app": "HiveDiscoMod"}" |
created | 2025-05-31 16:09:51 |
last_update | 2025-05-31 16:09:51 |
depth | 2 |
children | 0 |
last_payout | 2025-06-07 16:09:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 524 |
author_reputation | 55,996,595,627 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,082,594 |
net_rshares | 0 |
Congratulations @thecrazygm! You received a personal badge! <table><tr><td>https://images.hive.blog/70x70/https://hivebuzz.me/badges/pud.png?202506011208</td><td>You powered-up at least 10 HIVE on Hive Power Up Day!<br>Wait until the end of Power Up Day to find out the size of your Power-Bee.<br>May the Hive Power be with you! </td></tr></table> <sub>_You can view your badges on [your board](https://hivebuzz.me/@thecrazygm) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub> **Check out our last posts:** <table><tr><td><a href="/hive-122221/@hivebuzz/pum-202505-result"><img src="https://images.hive.blog/64x128/https://i.imgur.com/mzwqdSL.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202505-result">Hive Power Up Month Challenge - May 2025 Winners List</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pum-202506"><img src="https://images.hive.blog/64x128/https://i.imgur.com/M9RD8KS.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202506">Be ready for the June edition of the Hive Power Up Month!</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pud-202506"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202506">Hive Power Up Day - June 1st 2025</a></td></tr></table>
author | hivebuzz |
---|---|
permlink | notify-1748779980 |
category | hive-186392 |
json_metadata | {"image":["https://hivebuzz.me/notify.t6.png"]} |
created | 2025-06-01 12:13:00 |
last_update | 2025-06-01 12:13:00 |
depth | 1 |
children | 0 |
last_payout | 2025-06-08 12:13:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,313 |
author_reputation | 369,400,924,042,264 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,098,416 |
net_rshares | 0 |
<center>PIZZA! $PIZZA slices delivered: @ecoinstant<sub>(1/20)</sub> tipped @thecrazygm <sub>Come get [MOON](https://moon.hive.pizza)ed!</sub></center>
author | pizzabot |
---|---|
permlink | re-geek-out-a-python-tool-to-toggle-your-cpus-logical-cores-smt-manager-20250531t160938z |
category | hive-186392 |
json_metadata | "{"app": "pizzabot"}" |
created | 2025-05-31 16:09:39 |
last_update | 2025-05-31 16:09:39 |
depth | 1 |
children | 0 |
last_payout | 2025-06-07 16:09:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 156 |
author_reputation | 7,555,460,989,499 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,082,591 |
net_rshares | 0 |
Super cool! I've been tweaking my Arch Linux systems for years, so I love tools like this. I'm going to give it a try. I could also make BASH alias for the toggle commands, like smton and smtoff, to make to even simpler and quicker. Thank you for your awesome tools! 😁 🙏 💚 ✨ 🤙
author | tydynrain |
---|---|
permlink | re-thecrazygm-2025531t21333295z |
category | hive-186392 |
json_metadata | {"tags":["dev","tribes","archon","proofofbrain","pimp"],"app":"ecency/3.2.0-vision","format":"markdown+html"} |
created | 2025-06-01 07:33:33 |
last_update | 2025-06-02 05:29:03 |
depth | 1 |
children | 2 |
last_payout | 2025-06-08 07:33:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.009 HBD |
curator_payout_value | 0.010 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 277 |
author_reputation | 202,298,504,701,988 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,095,390 |
net_rshares | 63,597,090,007 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 63,597,090,007 | 100% |
bash alias is a smart move if you plan on using it often. Give it a try, I don't know what kind of CPU you are using, but I have found that even as counter intuitive as it sounds, some things build from source faster with the logical cores turned off.
author | thecrazygm |
---|---|
permlink | re-tydynrain-sx6pze |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"peakd/2025.5.9"} |
created | 2025-06-01 16:04:30 |
last_update | 2025-06-01 16:04:30 |
depth | 2 |
children | 1 |
last_payout | 2025-06-08 16:04:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 252 |
author_reputation | 89,215,812,372,498 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,102,646 |
net_rshares | 8,267,877,812 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tydynrain | 0 | 8,267,877,812 | 5% |
I tried it this morning, and it works perfectly well on my 10th generation i7 (*skylake*), and I did end up creating aliases for the commands. Now I just have to test assorted things to see if I notice a difference. I used to build from source all the time, and I'd like to get back to it, though I need a bit more time...lol! I dig it mucho! 😁 🙏 💚 ✨ 🤙
author | tydynrain |
---|---|
permlink | re-thecrazygm-202561t19348291z |
category | hive-186392 |
json_metadata | {"tags":["hive-186392"],"app":"ecency/3.2.0-vision","format":"markdown+html"} |
created | 2025-06-02 05:34:12 |
last_update | 2025-06-02 05:34:12 |
depth | 3 |
children | 0 |
last_payout | 2025-06-09 05:34:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 354 |
author_reputation | 202,298,504,701,988 |
root_title | "Geek Out: A Python Tool to Toggle Your CPU's Logical Cores (SMT Manager)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 143,114,313 |
net_rshares | 51,995,721,338 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
thecrazygm | 0 | 51,995,721,338 | 100% |