Asking / system function

Hi All

Q1/
I want know how I can change the system functions .. for example
I want change the performance all cores from the file on CPUs
I tried mc package ....


when I try view function will show data to view only

when I try edit function will show nothing empty and cant edit and save


Q2/
is this fine i mean to be CPU 1 isolated ?
is there something wrong or every thing is f1ine ?

root@OpenWrt:~# ls /sys/devices/system/cpu/
cpu0             cpufreq          offline          present
cpu1             isolated         online           uevent
cpu2             kernel_max       possible         vulnerabilities
cpu3             modalias         power

What's the deal with all the bold text in your posts ?

2 Likes

is there issue with bold text ?

1 Can you explain what result you are trying to accomplish?
2 it is just file listing in a directory. Run cat isolated to learn no CPUs were isolated from scheduler using boot parameter.

EDIT: are you still trying to work around 5g regression?

1 Like

Netiquette, imho.

1 Like

Dear @frollic
bold .. only to keep focus on question nothing else ... I don't mean anything bad ... I will change it to normal

I have no idea of what are you trying to accomplish, or how, or why...

1 Like

IMHO just paragraph title to separate from explanations.

1 Like

100% you are right .. this is the target

@brada4

you are like ghost lol 24Hrs online :grin: .. Thank you for answering the questions

I want to do some changes of function PID related to network where I reached to its file on mc package but I can't do change ... so is there another way to do it .... for example before install the system or something

Sir @brada4
every time the router reboot the PID for the network will be change to another number so I want change it from the main source (file)

root@OpenWrt:~# cat isolated
cat: can't open 'isolated': No such file or directory
root@OpenWrt:~#

Only I want to do changes on functions IRQ & PID to reach my target ....i'm looking to the changes from main file ..

You are operating on special /proc and /sys filesystems, obviously "isoated" file was in cpus directory under there, and file "isolated" was empty.

Are you trying to set CPU mask for (darn) PCI-USB-5G modem?

No Dear @brada4
I want for network file only not related to PCIe or USB
I used taskset command for this pid 716 .. but after reboot this pid will change to something else ( another number I mean )

So I reached to its file from MC package ... but I couldn't adjust the use of CPUs for this PID because system is not allowing me to edit

Thats /sys/class/net//queues/rx???/....
Packet steering automates the setting.

it has no relation to rx .... packet steering didn't add anything

mtk_soc_eth uses single interrupt, then 12 queues that can be spread to other CPUs. go figure.

1 Like

Neither IRQ nor PID are "functions", and I still do not know which is your target.

Which "main file" are you talking about, exactly?

Look, I understand there is a language barrier here, but we can only help you if you help us first. Perhaps you should explain first why are you doing this, and what is the issue you are trying to fix.

I want assign all cores for this PID ... or ID from main file ... so when I do reboot the effect will be their

Boss
There are more than 100 lines ... how I can extract them to share it here ... because no chance to copy

Seems thats the solution for future...