What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

IOTop

https://bbs.archlinux.org/viewtopic.php?id=38646

""I've been in contact with the author of iotop.py, and the "fix" was to enable four options in the kernel:

CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y

So, I synced my ABS tree, copied the kernel26 stuff to another directory, and edited the config file to include these four options. There is a spot for them, just replace the line

# CONFIG_TASKSTATS is not set


Could this be done for our kernels ?
 
Depends. Any reason why this would be useful to a router?
 
Hi Merlin, the Asus router wizard :)

Some of us take things to extreme. Myself I use it like a NAS.
Sometimes HDD starts running like crazy, and using top I can't understand what's killing the hdd.

Is there other better way than iotop (already in entware) ?

Thanks in advance for your reply.
 
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
Even after this fix, we still can't control I\O priority by ionice or similar tools. We've got noop scheduler, which is hard-compiled. No any other schedulers (like cfq, deadline or any other) are available:
Code:
admin@RTN66U:/tmp/home/root# cat /sys/block/sda/queue/scheduler
[noop]
IMHO, adding other I\O schedulers for router is overkill.
 
Just installed iotop from entware and realized this issue. It would be helpful to have this enabled in the kernel config for those using routers as an all-in-one (including NAS) as mentioned above. Not sure there are any downsides, either.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top