No simultaneous ioctl commands in latest kernels (slow cdrecord)
If I need to burn many CDs, I sometimes use multiple burners simultaneously with multiple instances of cdrecord.
Previously I could burn at full speed, but with the latest kernel versions (2.6.38, 2.6.39, 3.0) the speed is greatly reduced. A separate burner burns for example at 24x speed while simultaneously they do not burn faster than 12x speed. After some research it appears that the ioctl commands wait for each other. Does this possibly have anything to do with the BKL? An easy way to reproduce this issue: Run the following command on an older kernel (eg 2.6.26) and a new kernel (eg 6.2.39) $ eject /dev/sr0 & eject /dev/sr1 On an old kernel the trays will open simultaneously while on a new kernel they open sequentially. My question is, is there a possibility to make the new kernels run the ioctl commands simultaneously? |
Do you think this is related to commit 2a48fc0ab242417 ?
http://comments.gmane.org/gmane.linux.kernel/1113910 I tried to build a kernel without the libata for my new dvd duplicator (the deprecated IDE driver is still present in 3.0.4 kernel) thinking the problem could comes from this driver, but was unable to boot debian wheezy with this. Cannot say more. I finaly decided to install debian lenny on this machine, with 2.6.26, and learned how to use HAL for the scripting part :/ Works fine, and will stay like this untill I need USB3... |
After some research, I believe this problem has possibly something to do with BKL.
I found the following patch, applied during the BKL removal campaign, here : http://git390.marist.edu/cgi-bin/git...a48fc0ab242417 Code:
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c |
I did not found other complaints about this problem, and then I tried to get help from kernel devs :
https://lkml.org/lkml/2011/10/29/117 |
edada, did you find a solution for this, or indeed a clear cause of the problem?
|
All times are GMT -5. The time now is 11:48 PM. |