Skip to contentSkip to conversation

New: CD Ripping speeds slow with 2.6.17

Bugme-new Andrew Morton 5 participants 9 messages Aug 19, 2006 – Aug 22, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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..

9430d58e34ec3861e1ca72f8e49105b227aad327 is first bad commit commit 9430d58e34ec3861e1ca72f8e49105b227aad327

Author: Mike Galbraith <[email protected]>
Date:   Wed Mar 22 00:07:33 2006 -0800

[PATCH] sched: remove sleep_avg multiplier

Remove the sleep_avg multiplier. This multiplier was necessary back when we had 10 seconds of dynamic range in sleep_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.

Quoted 7 lines

:040000 040000 28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f 780a13c0f8ba5465db79c668

I'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?

#2 lore raw
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..

9430d58e34ec3861e1ca72f8e49105b227aad327 is first bad commit commit 9430d58e34ec3861e1ca72f8e49105b227aad327

Author: Mike Galbraith <[email protected]>
Date:   Wed Mar 22 00:07:33 2006 -0800

[PATCH] sched: remove sleep_avg multiplier

Remove the sleep_avg multiplier. This multiplier was necessary back when we had 10 seconds of dynamic range in sleep_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.

Quoted 7 lines

:040000 040000 28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f 780a13c0f8ba5465db79c668

I'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.

#3 lore raw
In reply to Andrew Morton
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..

9430d58e34ec3861e1ca72f8e49105b227aad327 is first bad commit commit 9430d58e34ec3861e1ca72f8e49105b227aad327

Author: Mike Galbraith <[email protected]>
Date:   Wed Mar 22 00:07:33 2006 -0800

[PATCH] sched: remove sleep_avg multiplier

Remove the sleep_avg multiplier. This multiplier was necessary back when we had 10 seconds of dynamic range in sleep_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.

Quoted 6 lines
Quoted 6 lines

:040000 040000 28d2d8f53ab7b5dd89e846f2dcc107ce88cb695f 780a13c0f8ba5465db79c668

I'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

#4 lore raw
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)

#5 lore raw
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

#6 lore raw
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

#7 lore raw
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
#8 lore raw
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 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.

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

#9 lore raw
In reply to Ryan Newberry
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