New: CD Ripping speeds slow with 2.6.17
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 40 lines · On Sat, 19 Aug 2006 11:00:22 -0700 [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=7027
Summary: CD Ripping speeds slow with 2.6.17
Kernel Version: 2.6.17
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]Most recent kernel where this bug did not occur: 2.6.16
Distribution: Gentoo
Hardware Environment: ASUS K8V mobo, AMD64 2200, 1GB RAM
Software Environment: Gentoo
Problem Description: Ever since 2.6.17 my cd ripping speeds with one particular CD ripper/encoder (namely the one I wrote) have been slow.Using git bisect I tracked it down to this patch..
9430d58e34ec3861e1ca72f8e49105b227aad327is first bad commit commit9430d58e34ec3861e1ca72f8e49105b227aad327Author: Mike Galbraith <[email protected]> Date: Wed Mar 22 00:07:33 2006 -0800[PATCH] sched: remove
sleep_avgmultiplierRemove the
sleep_avgmultiplier. This multiplier was necessary back when we had 10 seconds of dynamic range insleep_avg, but now that we only have one second, it causes that one second to be compressed down to 100ms in some cases. This is particularly noticeable when compiling a kernel in a slow NFS mount, and I believe it to be a very likely candidate for other recently reported network related interactivity problems.In testing, I can detect no negative impact of this removal.
Signed-off-by Mike Galbraith <[email protected]>Acked-by Ingo Molnar <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Linus Torvalds <[email protected]>
Quoted 7 lines
:040000 040000
28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f780a13c0f8ba5465db79c668I'm honestly not sure if my application is doing something it shouldn't or if this is a legitimate kernel bug. Being totally at a loss I'm filing it here.I just know that before the above patch I was ripping at about speeds of 9.0x and now I rip at 1.2x.
sched problems...
Martin, this might be the source of your `dvdrip' woes?
Quoted 51 lines · Andrew Morton
Quoted 40 lines · On Sat, 19 Aug 2006 11:00:22 -0700 [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=7027
Summary: CD Ripping speeds slow with 2.6.17
Kernel Version: 2.6.17
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]Most recent kernel where this bug did not occur: 2.6.16
Distribution: Gentoo
Hardware Environment: ASUS K8V mobo, AMD64 2200, 1GB RAM
Software Environment: Gentoo
Problem Description: Ever since 2.6.17 my cd ripping speeds with one particular CD ripper/encoder (namely the one I wrote) have been slow.Using git bisect I tracked it down to this patch..
9430d58e34ec3861e1ca72f8e49105b227aad327is first bad commit commit9430d58e34ec3861e1ca72f8e49105b227aad327Author: Mike Galbraith <[email protected]> Date: Wed Mar 22 00:07:33 2006 -0800[PATCH] sched: remove
sleep_avgmultiplierRemove the
sleep_avgmultiplier. This multiplier was necessary back when we had 10 seconds of dynamic range insleep_avg, but now that we only have one second, it causes that one second to be compressed down to 100ms in some cases. This is particularly noticeable when compiling a kernel in a slow NFS mount, and I believe it to be a very likely candidate for other recently reported network related interactivity problems.In testing, I can detect no negative impact of this removal.
Signed-off-by Mike Galbraith <[email protected]>Acked-by Ingo Molnar <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Linus Torvalds <[email protected]>Quoted 7 lines
:040000 040000
28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f780a13c0f8ba5465db79c668I'm honestly not sure if my application is doing something it shouldn't or if this is a legitimate kernel bug. Being totally at a loss I'm filing it here.I just know that before the above patch I was ripping at about speeds of 9.0x and now I rip at 1.2x.
Quoted 4 lines
sched problems...
Martin, this might be the source of your `dvdrip' woes?
Nope, was an older kernel than that, and oddly doesn't always seem to happen. I'll try to get that box upgraded, and try to reproduce it again.
Quoted 43 lines · Andrew Morton
Quoted 40 lines · On Sat, 19 Aug 2006 11:00:22 -0700 [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=7027
Summary: CD Ripping speeds slow with 2.6.17
Kernel Version: 2.6.17
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]Most recent kernel where this bug did not occur: 2.6.16
Distribution: Gentoo
Hardware Environment: ASUS K8V mobo, AMD64 2200, 1GB RAM
Software Environment: Gentoo
Problem Description: Ever since 2.6.17 my cd ripping speeds with one particular CD ripper/encoder (namely the one I wrote) have been slow.Using git bisect I tracked it down to this patch..
9430d58e34ec3861e1ca72f8e49105b227aad327is first bad commit commit9430d58e34ec3861e1ca72f8e49105b227aad327Author: Mike Galbraith <[email protected]> Date: Wed Mar 22 00:07:33 2006 -0800[PATCH] sched: remove
sleep_avgmultiplierRemove the
sleep_avgmultiplier. This multiplier was necessary back when we had 10 seconds of dynamic range insleep_avg, but now that we only have one second, it causes that one second to be compressed down to 100ms in some cases. This is particularly noticeable when compiling a kernel in a slow NFS mount, and I believe it to be a very likely candidate for other recently reported network related interactivity problems.In testing, I can detect no negative impact of this removal.
Signed-off-by Mike Galbraith <[email protected]>Acked-by Ingo Molnar <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Linus Torvalds <[email protected]>
Quoted 6 lines
Quoted 6 lines
:040000 040000
28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f780a13c0f8ba5465db79c668I'm honestly not sure if my application is doing something it shouldn't or if this is a legitimate kernel bug. Being totally at a loss I'm filing it here.I just know that before the above patch I was ripping at about speeds of 9.0x and now I rip at 1.2x.
It's pretty difficult imagining this patch being responsible for an IO regression. The scheduling advantages for applications which sleep even a little is still absolutely massive.
Quoted 1 line
sched problems...
I'm skeptical. Is the source for this application available? I'd like to see this problem.
-Mike
Quoted 2 lines · Mike Galbraith
I'm skeptical. Is the source for this application available? I'd like to see this problem.
(never mind. saw your other post, found source)
Quoted 6 lines · Mike Galbraith
Quoted 2 lines · Mike Galbraith
I'm skeptical. Is the source for this application available? I'd like to see this problem.
(never mind. saw your other post, found source)
Hm. I can't get better than 1.4x rip speed out of it with a stock SuSE 10.1 kernel (2.6.16). It's also using truckloads of cpu, whereas the CD rippers that came with this distro use a percent or two.
-Mike
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
I'm skeptical. Is the source for this application available? I'd like to see this problem.
(never mind. saw your other post, found source)
Hm. I can't get better than 1.4x rip speed out of it with a stock SuSE 10.1 kernel (2.6.16). It's also using truckloads of cpu, whereas the CD rippers that came with this distro use a percent or two.
What command did you use to rip?
Jan Engelhardt
Quoted 10 lines · Jan Engelhardt
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
I'm skeptical. Is the source for this application available? I'd like to see this problem.
(never mind. saw your other post, found source)
Hm. I can't get better than 1.4x rip speed out of it with a stock SuSE 10.1 kernel (2.6.16). It's also using truckloads of cpu, whereas the CD rippers that came with this distro use a percent or two.
Quoted 6 lines
What command did you use to rip?
Jan Engelhardt
The ripper he's using is ripoff I assume (source code here: http://prdownloads.sourceforge.net/ripoffc/ripoff-0.8.tar.gz?download extraction functionality contained in src/RipOffExtractor.c) . It uses libparanoia to do its job, like the cdparanoia command. On my system, ripoff has high CPU usage with a 2.6.16 kernel as well, but it reports a 9.0x rate on average. Could the fact that it has such high CPU usage be a possible reason I am experiencing a slower ripping speed (1.2x) when the patch that was git bisected is applied?
Signature · 3 lines
Ryan Newberry http://ripoffc.sourceforge.net "All mankind is divided into three classes: those that are immovable, those that are movable, and those that move." - Benjamin Franklin
Quoted 15 lines · Ryan Newberry
Quoted 14 lines · Jan Engelhardt
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
I'm skeptical. Is the source for this application available? I'd like to see this problem.
(never mind. saw your other post, found source)
Hm. I can't get better than 1.4x rip speed out of it with a stock SuSE 10.1 kernel (2.6.16). It's also using truckloads of cpu, whereas the CD rippers that came with this distro use a percent or two.
What command did you use to rip?
Quoted 8 lines
Quoted 2 lines
Jan Engelhardt
The ripper he's using is ripoff I assume (source code here:
http://prdownloads.sourceforge.net/ripoffc/ripoff-0.8.tar.gz?download
extraction functionality contained insrc/RipOffExtractor.c) . It uses libparanoia to do its job, like the cdparanoia command. On my system, ripoff has high CPU usage with a 2.6.16 kernel as well, but it reports a 9.0x rate on average.
Watching the .16 kernel, it boosts to interactive status frequently, but even with this mega-boost, it uses so much cpu that it repeatedly falls into the expire (unbounded latency) category.
At this point, I think this app has problems.
Quoted 3 lines
Could the fact that it has such high CPU usage be a possible reason I am experiencing a slower ripping speed (1.2x) when the patch that was git bisected is applied?
Short answer, with a lot of interpolation, yes.
-Mike
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
rippers that came with this distro use a percent or two.
What command did you use to rip?
The ripper he's using is ripoff I assume (source code here:
I would suggest trying another one, possibly not based on cdparanoia.
Jan Engelhardt