Summary: | Lower Process and I/O Priority for debugging / backtrace generation | ||
---|---|---|---|
Product: | [Applications] drkonqi | Reporter: | Richard Llom <richard.llom> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | adaptee, mail, sitter |
Priority: | NOR | ||
Version: | 2.1.5 | ||
Target Milestone: | --- | ||
Platform: | Chakra | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Richard Llom
2013-05-15 21:43:58 UTC
There is a quick trick : 1. open /usr/share/apps/drkonqi/debuggers/internal/gdbrc 2. change the line : "Exec=gdb -nw -n -batch -x %tempfile -p %pid %execpath" into "Exec=nice gdb -nw -n -batch -x %tempfile -p %pid %execpath" However, I personally never have the feeling that drkonqi(actually, it is gdb) is taking too much time or too much CPU resource to generate the backtrace that it influences my normal workflow. So I can't say whether that trick will bring noticeable change. Also, someone reports drkonqi (again, it is actually gdb) takes too long time to generate the backtrace. If we make drkonqi(gdb) nicer, it will takes even longer time for that user. See bug 318635. (In reply to comment #1) > There is a quick trick : > ... Well, this looks nicer, although I could test now with only a small backtrace. >, I personally never have the feeling that drkonqi(actually, it is > gdb) is taking too much time or too much CPU resource to generate the > backtrace that it influences my normal workflow. So I can't say whether that > trick will bring noticeable change. Here on my notebook I have "only" two cores and gdb uses both to the max -> can't do anything else. > Also, someone reports drkonqi (again, it is actually gdb) takes too long > time to generate the backtrace. If we make drkonqi(gdb) nicer, it will takes > even longer time for that user. See bug 318635. Not necessarily, only when there are actually other programs are running and using cpu time. As Jekyll said, if we make it nicer it'd take longer which is in fact counter productive since drkonqi is an interactive dialog. If it was tracing in background niceness would make sense, seeing that is not the case it really doesn't make sense to reduce its priority. If desired a user can edit gdbrc as demonstrated. |