[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on mac68k



Hi Stan and Stefan,

On Mon, 6 Jun 2016, Mac User wrote:

> 
> I recompiled the 4.1.20 source (patched with the scsi patch) [...]
> the 4.1.20 kernel runs fine on my Mac IIfx and LC III, but it is 
> noticeably slower than the 2.2.25 kernel in Debian 3.1.

I've created a patch series to improve the performance of mac_scsi, and a 
second series to address the Egret driver problem. This build also 
optimizes for performance instead of size.

The first patch series is already upstream and will probably appear in 
v4.10. You can also get these mac_scsi changes from sourceforge: 
https://sourceforge.net/projects/linux-mac68k/files/4.1.35%20Test%20Kernel/

For your IIfx, the mac_scsi changes should improve sequential IO 
performance by a factor of 3 or so. (Unfortunately that still doesn't 
approach the limit, for which the driver would need to use DMA.)

The second patch series needs more testing before I can send it upstream. 
It can be found on github if you want to read it or clone it: 
https://github.com/fthain/linux/commits/egret

The new Egret support comes from a modified Cuda driver, and should get 
ADB working on your LC III without needing the old via-maciisi code. At 
present I don't have an Egret-based Mac at hand to test the latest changes 
on so don't expect too much from this series. It could be completely 
broken.

I uploaded a new build anyway, with both the mac_scsi and egret patches:
https://www.telegraphics.com.au/~fthain/stan/vmlinux-4.1.35-mac_scsi-egret+
https://www.telegraphics.com.au/~fthain/stan/linux-m68k-image-4.1.35-mac_scsi-egret+.tar.gz

SHA1 digests:
22146db55d372416534821227ba8a0662208da75  vmlinux-4.1.35-mac_scsi-egret+
69430122ebb17ccc5b732fd4531a97787a387976  linux-m68k-image-4.1.35-mac_scsi-egret+.tar.gz

If you just want the (upstream) mac_scsi changes, please use the 
sourceforge build instead. But note that it doesn't support Egret ADB, in 
case your Mac needs that.

-- 


Reply to: