Score:0

after changes in CPUQuota my system became very slow

gf flag

I changed the CPUQuota=50% so that my system could use mimimum CPU resources but due to these changes my system became very very slow could anyone please help me to revert these changes and bring my system back to normal?

I ran below commands:

systemctl set-property user-1000.slice CPUQuota=50%

stress --cpu 3enter image description here

guiverc avatar
cn flag
What was the level set to before you changed it? We don't have know what OS & release as you've not given us any clues as to that information, thus would be guessing currently.
Score:0
cn flag

The command systemctl cat user-1000.slice, will show the default settings in the /usr files, followed by your modifications to them stored in files under /etc. For example:

# /usr/lib/systemd/system/user-.slice.d/10-defaults.conf
# ...defaults snipped...
# /etc/systemd/system.control/user-1000.slice.d/50-CPUQuota.conf
# This is a drop-in unit file extension, created via "systemctl set-property"
# or an equivalent operation. Do not edit.
[Slice]
CPUQuota=50%

If this was your only modification to user-1000.slice, or if you want to revert all other changes of it to their default settings, type:

systemctl revert user-1000.slice
Anup Ganvir avatar
gf flag
Thanks a lot! for your help. You saved my life I was about to reinstall ubuntu because of this issue. After systemctl revert user-1000.slice running this command my system is working great now :)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.