Summary: | knemo writes to harddisk every 5 seconds and thus prevents power-saving | ||
---|---|---|---|
Product: | [Applications] knemo | Reporter: | S. Burmeister <sven.burmeister> |
Component: | general | Assignee: | John Stamp <jstamp> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | ach, alon.barlev, aros |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
S. Burmeister
2005-09-28 15:37:05 UTC
I heared of this before. Someman found out that this is because of 'ifconfig' which gets called every second. It seems that 'ifconfig' accesses the harddisk. The problem is that KNemo has to do this to find out if an interface went up or down. There will be no solution to this until someone writes a backend that uses /proc or some other way to get this information. And by the way also a plugin feature to change the backends on demand. Maybe NetworkManager (http://people.redhat.com/dcbw/NetworkManager/index.html) is a good alternativ for 'ifconfig'. *** Bug 117495 has been marked as a duplicate of this bug. *** NetworkManager seems to be a GTK2 application and we're talking about KDE things ;) Is KNemo project completely abandoned? I don't think reading and parsing /proc entries is a hard work but my C++ skills are next to void so I can't solve this problem. I think that'll be good to file a bugreport into Gentoo and Suse bugzilla's because those distributions might be a bit more concerned of KNemo unlike KDE bugzilla which has many bugs that are left unsolved for years. Temporarily I've switched to KNetStats 1.3. *** Bug 122769 has been marked as a duplicate of this bug. *** Is it so hard to use "cat /proc/net/dev" (like the tool called rppppoek) instead of ifconfig route and iwconfig (I don't have the last one so it's not a problem)? Percy wants to implement a plugin based system of polling network interfaces but as he points out he is time contstained so this feature may take a long time to implement. This is the open source world, ned123, if you'd like it now - go write a patch for that and hope it'll get merged eventually. Percy, once you've asked what is the best way to query network interfaces in Linux - through /proc or /sys interfaces. I'm sure you should implement them both 'cause some people will run kernel 2.4.x for a very long time and if you rely only on /sys interface you will leave those people in misery. This bug has been fixed in newly released version 0.4.3. Thank you, Percy! *** Bug has been marked as fixed ***. Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug. |