News:

NOTICE: Registration may require manual admin activation. After registering visit https://bitsum.com/contact/ to request account activation.

Main Menu

Recent posts

#21
Process Lasso / Re: running process lasso thro...
Last post by justaquestion - May 06, 2023, 08:45:53 PM
#22
Process Lasso / Re: Process Peak Usage
Last post by justaquestion - May 06, 2023, 07:47:18 PM
I think it's a good idea but at the same time I think it really could break things. I think it should be something you could enable optionally. I really like how light on resources and how fast process lasso is able to configure processes. I think things that are going to be used constantly by process lasso should be things you can turn on and off. on the other hand I could see how this could be very useful.
#23
Process Lasso / Re: Process Peak Usage
Last post by Jeremy Collake - May 06, 2023, 09:21:02 AM
I agree that would be useful!

We've got some plans to extend the reporting and visualization capabilities. I've rolled these requests into that. I can't promise when or if it'll be done, but it won't be forgotten. I'll reply here with any news.

Thanks for the feedback!
#24
Process Lasso / Process Peak Usage
Last post by bensam123 - May 06, 2023, 01:22:36 AM
Not sure how active these forums are, but as it seems there is no suggestion spot. It would be nice if there was a way to see 'peak' CPU usage for each process over like a 10m window or possibly longer to nail down processes that aren't behaving well. Some will momentarily spike for less then a second and you can't figure out what's causing it to happen as they come and go almost instantly.

What would also be nice is to see peak usage per core. So if a process is maxing a single core, you'd be able to figure out which is causing it. Some processes are better multithreaded then others.
#25
Process Lasso / Re: Customer reviews of Proces...
Last post by justaquestion - May 03, 2023, 08:05:52 PM
Revolutionary prioritize windows services automate io and cpu priorities based on various conditions simple to use interface when you have process lasso it's like upgrading your operating system in a good way
#26
Process Lasso / Re: running process lasso thro...
Last post by justaquestion - May 03, 2023, 05:12:07 PM
#27
Process Lasso / Re: running process lasso thro...
Last post by justaquestion - May 03, 2023, 02:06:59 PM
here is the script for what I call process linux. basically there are two scripts. defaultmem.sh and defaultcpu.sh you copy and paste from defaultmem.sh into a new script if you want to control disk usage and cpu. and you copy from defaultcpu.sh if you just want to control cpu usage. here is the program. the values used are boilerplate. the program was pretty much written by chatgpt. although it was having trouble writing some of it. the program really needs to be run as sudo. but its never been a problem. I'm making a youtube video for it but it's basically going to be just what i've written here.

#!/bin/bash

# Ask for disk usage in MB
read -p "Enter disk usage threshold (in MB): " disk_usage_mb

# Convert MB to KB
disk_usage=$(($disk_usage_mb * 1024))

#!/bin/bash

# Get list of open programs and their PIDs
programs=$(sudo lsof -t | xargs ps -p)

# Display list of open programs and their PIDs
echo "Open programs:"
echo "$programs"

# Ask user which program to modify
read -p "Enter the PID of the program you would like to adjust (0 to exit): " pid

# If user enters 0, exit the script
if [[ $pid -eq 0 ]]; then
  exit 0
fi

# Ask user for new value of p variable
read -p "Enter the new value of p variable: " p

# Update the p variable in the script
sudo sed -i "s/^p=.*$/p=$p/" "$0"

# Ask user for process priority level
read -p "Enter process priority level (high/idle): " priority

# Set process priority level using 'nice' command with sudo
if [[ "$priority" == "high" ]]; then
  sudo renice -n -20 -p "$pid"  # set high priority
elif [[ "$priority" == "idle" ]]; then
  sudo renice -n 20 -p "$pid"  # set idle priority
fi

while true; do
  # Get CPU usage of specified program
 cpu=$(top -b -n 1 -p "$pid" | awk 'NR>7 { sum += $9; } END { print sum; }')


  # Get path to executable file associated with specified PID
  exe=$(readlink "/proc/$pid/exe")

  # Get directory containing executable file
  directory=$(dirname "$exe")

  # Get disk usage of directory containing executable file
  disk=$(df -k "$directory" | awk '/\// { print $3 }')

  # Adjust I/O priority based on CPU and disk usage
  if (( $(echo "$cpu >= 5" | bc) )); then
    sudo ionice -c 3 -p $$  # set I/O priority to low
  elif (( $disk < $disk_usage )); then
    sudo ionice -c 1 -n 0 -p $$  # set I/O priority to high
  fi

  # Wait for 1 second before checking again
  sleep 1
done




#28
Process Lasso / Re: running process lasso thro...
Last post by justaquestion - May 02, 2023, 06:21:43 AM
when i originally booted into process lasso. i set everything to not start automatically and don't run as a system service. process lasso essentially runs just fine although cpu priority shows up in the logs while io priority does not. Ive modified some things in the linux kernel to try to reduce turbo boost but mostly failed. although some tlp settings basically did the same thing. chatgpt helped me turn off the nvidia gpu and i had been playing witcher 3 just fine. with klonoa ill try testing it but it wanted me to install it since it wasn't installed on my linux steam. i guess i could run the witcher 3 with process lasso through steam because it didn't have drm. i also tried to run burnout paradise the ultimate box it crashed with a code indicating it was in the wrong directory. however launching it normally with proton also caused it to crash. chatgpt gave me a script i can use to apply my watchdog settings with ionice but its kind of a pain to use. i suspect klonoa will work if installed to the same directory that linux steam uses. in the witcher 3 i was getting about 23 watts at 30 fps with ultra settings in witcher 3 classic. hope to pickup sonic frontiers. i have some ideas for how to improve the performance but i suspect i should be using ionice since io priorities are probably not being applied and that really is a neat feature of the program. I guess I can report if it actually works with steam games. among us loaded through process lasso but it wouldn't allow me to paly online essentially acting like it wasn't opened through steam.
#29
Process Lasso / Re: running process lasso thro...
Last post by Jeremy Collake - April 27, 2023, 10:36:28 AM
We can not attest to how well Process Lasso will under WINE. However, it is an area of R&D, so I'll update this thread with any news.

The Process Governor should run fine without Performance Counters. However, the GUI (ProcessLasso.exe) may fail to show certain metrics, primarily in the graph and statusbar.

I recommend turning on menu item 'Options / Log / Log Launches' to verify that ProcessGovernor.exe has the same visibility into running WINE processes that you see in the GUI. You may also need to change the startup method of ProcessGovernor.exe to that of a normal process, instead of system service. To do that see this post.
#30
Process Lasso / Re: running process lasso thro...
Last post by justaquestion - April 27, 2023, 07:25:10 AM
never mind I got it to work. you locate explorer.exe on disk and run them from there. can process lasso run without performance counters. Ive used process watchdog on a program running through process lasso on linux. there seems to be some hitching related to the use of process watchdog but I can't see the process running under the log.