Jump to content

[HowTo] Speed up hard disk access


  • Please log in to reply
132 replies to this topic

#41
iradeon

iradeon

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Well I've tried everything in this thread but my disk still shows 2MB transfers. I am pretty sure I have an Intel chipset, whats the easiest way to find out?

EDIT: Well I found that I don't have an Intel chipset...so is there anyway to get this over to non-Intel chipsets?

#42
xghd

xghd

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
:D cool!!!!

#43
cyrana

cyrana

    Prophetess of Doom

  • Retired
  • 1,462 posts
  • Gender:Female
  • Location:Somewhere out there
I thought ICH4-6 were the only 'real' supported chipsets for this stuff, although since some people got SATA working on NForce3 (and 4?), they may be as well.

#44
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,639 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

I thought ICH4-6 were the only 'real' supported chipsets for this stuff, although since some people got SATA working on NForce3 (and 4?), they may be as well.

<{POST_SNAPBACK}>



Who? kext for nVidia has only PATA driver.

#45
cyrana

cyrana

    Prophetess of Doom

  • Retired
  • 1,462 posts
  • Gender:Female
  • Location:Somewhere out there

Who? kext for nVidia has only PATA driver.

<{POST_SNAPBACK}>

Ahh, thanks. <_< I had just seen it mentioned working, didn't know if it was PATA or SATA... Just mentioning since you see people with about a dozen different chipsets complaining when only a handful have a chance in hell. :)

#46
Youbecha

Youbecha

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
I made sure these steps were done (and they show running)

AppleIntelPIIXATA.kext

IOATAFamily.kext

deleted these

/System/Library/Extensions.kextcache
/System/Library/Extensions.mkext

and deleted the Generic Intel one.


My numbers doubled for the HD test, and everthing else improved dramatically...but my HD speeds are still no where near what I saw here.

How do I go about trouble shooting.

#47
iradeon

iradeon

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I have a Toshiba A75-S1253 Satellite Laptop, I THINK it uses a NorthBridge or SouthBridge chipset, the info is fuzzy. Anyway of getting this ported?

#48
cwestpha

cwestpha

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 216 posts
  • Gender:Male
  • Location:USA
Um hate to point out but the cp command used in such a way in improper and will fail. a .kext is simply a directory continaing files and a directory stucture for kernel extentions. So would the -R modifyer fix this problem or is there a better way to do it?

#49
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,639 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
ditto can do the same as cp -Rp, including the resource fork.

#50
cwestpha

cwestpha

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 216 posts
  • Gender:Male
  • Location:USA
Well his instructions werent given using ditto. they were using plain old cp command. You realy should add cp -RLv just to make sure everything goes right. Atleast thats what I use to copy around kexts.

#51
DellOsX

DellOsX

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

ok, this was pissing me off immensely so I dug into it and have a fix (for Intel chipsets anyway).  What it comes down to is, as you suspected, you're not running Ultra-DMA but rather PIO because you don't have a proper driver for your ATA chipset.  Assuming you have an Intel system, you need to get the AppleIntelPIIXATA driver installed.

If you have XCode installed, you can build it yourself; it's included with the Darwin sources.  Go to http://www.opensourc...IXATA-17.tar.gz.  Extract the archive and open the "AppleIntelPIIXATA.pbproj" file in XCode and hit Command-B to build it.  Now you need to fix the permissions: in a command window cd into Build/Development and type "chown -R root AppleIntelPIIXATA.kext".  Copy AppleIntelPIIXATA.kext into your System/Library/Extensions folder, reboot, and enjoy a good 20x HD performance boost (that's what I got anyway).  Cut my boot time in half too..

Or if you prefer, here's a precompiled tarball.  Extract the tar.gz file and copy the kext into /System/Library/Extensions.

<{POST_SNAPBACK}>


Can some one repost this file please?
[SIZE=7]

#52
LlamaGuy

LlamaGuy

    InsanelyMac Protégé

  • Members
  • Pip
  • 41 posts
I was getting 15.41 before the patch, and then after the patch I get 14.71. Also, Disk Utility locks up, and Force Quit won't get rid of it. I'm on a Dell Latitude C640, chipset: Intel i845
10-1-130-211:~ llamaguy$ kextstat | grep "ATA"
   33    3 0xd8aed000 0xd000     0xc000     com.apple.iokit.IOATAFamily (1.6.0f2)
   34    0 0xd8b01000 0x7000     0x6000     com.apple.driver.AppleIntelPIIXATA (1.6) <33 16 11>
   38    0 0xd8c2f000 0x4000     0x3000     com.apple.iokit.IOATAPIProtocolTransport (1.4.0) <37 33 11>
   40    0 0xd8d48000 0x9000     0x8000     com.apple.iokit.IOATABlockStorage (1.4.1) <39 33 11>

10-1-130-211:~ llamaguy$ ioreg | grep "ATA"
    | |   | +-o AppleIntelPIIXATARoot  <class AppleIntelPIIXATARoot, !registered, !matched, active, busy 0, retain count 6>
    | |   |   +-o PRI@0  <class AppleIntelPIIXATAChannel, registered, matched, active, busy 0, retain count 11>
    | |   |   | +-o AppleIntelPIIXPATA  <class AppleIntelPIIXPATA, registered, matched, active, busy 0, retain count 8>
    | |   |   |   +-o ATADeviceNub@0  <class ATADeviceNub, registered, matched, active, busy 0, retain count 6>
    | |   |   |     +-o IOATABlockStorageDriver  <class IOATABlockStorageDriver, registered, matched, active, busy 0, retain count 7>
    | |   |   |       +-o IOATABlockStorageDevice  <class IOATABlockStorageDevice, registered, matched, active, busy 0, retain count 5>
    | |   |   +-o SEC0@1  <class AppleIntelPIIXATAChannel, registered, matched, active, busy 0, retain count 12>
    | |   |     +-o AppleIntelPIIXPATA  <class AppleIntelPIIXPATA, registered, matched, active, busy 0, retain count 8>
    | |   |       +-o ATADeviceNub@0  <class ATADeviceNub, registered, matched, active, busy 0, retain count 6>
    | |   |         +-o IOATAPIProtocolTransport  <class IOATAPIProtocolTransport, registered, matched, active, busy 0, retain count 8>

Disk Test	14.80	
	Sequential	26.90	
  Uncached Write	21.15	12.98 MB/sec [4K blocks]
  Uncached Write	22.86	12.93 MB/sec [256K blocks]
  Uncached Read	44.51	13.03 MB/sec [4K blocks]
  Uncached Read	28.41	14.28 MB/sec [256K blocks]
	Random	10.21	
  Uncached Write	3.22	0.34 MB/sec [4K blocks]
  Uncached Write	25.32	8.11 MB/sec [256K blocks]
  Uncached Read	47.76	0.34 MB/sec [4K blocks]
  Uncached Read	48.30	8.96 MB/sec [256K blocks]

Do you think it has anything to do with the top level PIIATA being !registered and !matched?

I should be getting 20-30 with this hard drive...

edit: Yeah... and disabling the kext's and deleting my cache was a bad idea. The OS X installation is screwed... won't even boot into safe mode.

edit2: I have OS X installed twice on this computer on seperate partitions... so I booted into single user mode and renamed the drivers back from .disabled, and I'm up and running again.

#53
joelogic

joelogic

    Moderator

  • Members
  • PipPipPip
  • 145 posts
  • Location:Dayton, Ohio
  • Interests:I'm a computer programmer in the USAF. I'm a trance DJ outside of work.
I'm going to sticky this as I've seen this question being asked about 3 or 4 times already elsewhere. Hopefully, if they wont search, they'll at least see it up top.

#54
tartar

tartar

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Hello,

I decided to post the score also.

Results 55.08
System Info
Xbench Version 1.2
System Version 10.4.1 (8B1025)
Physical RAM 512 MB
Drive Type IC35L080AVVA07-0
Disk Test 55.08
Sequential 83.14
Uncached Write 77.10 47.34 MB/sec [4K blocks]
Uncached Write 80.19 45.37 MB/sec [256K blocks]
Uncached Read 88.00 25.75 MB/sec [4K blocks]
Uncached Read 88.41 44.43 MB/sec [256K blocks]
Random 41.18
Uncached Write 15.21 1.61 MB/sec [4K blocks]
Uncached Write 80.87 25.89 MB/sec [256K blocks]
Uncached Read 92.53 0.66 MB/sec [4K blocks]
Uncached Read 121.67 22.58 MB/sec [256K blocks]

That's w/o the patch. I guess I'll just leave it as it is. Oh, here's the kextstat | grep -i Intel

0xd8c1e000 0x7000 0x6000 com.apple.driver.AppleIntelPIIXATA (1.6) <29 23 11>
47 0 0xd6f6e000 0xa000 0x9000 com.apple.driver.AppleIntelIntegratedGraphics (2.0.0) <46 11>
50 0 0xd6f9c000 0x4000 0x3000 com.apple.driver.AppleAC97AudioIntelICH (1.0.0) <49 23 11>
62 0 0xd8c6a000 0x8000 0x7000 com.apple.driver.AppleIntel8255x (1.4) <57 23 5 4 3 2>
63 0 0xd8cb7000 0x21000 0x20000 com.apple.driver.AppleIntel830 (4.0.0) <59 46 23 11>

#55
halo1982

halo1982

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Any chance of modifying this to work with an ATI/ALi southbridge?

Hello,

I decided to post the score also.

Results 55.08
System Info 
  Xbench Version  1.2
  System Version  10.4.1 (8B1025)
  Physical RAM  512 MB
  Drive Type  IC35L080AVVA07-0
Disk Test 55.08
  Sequential 83.14
  Uncached Write 77.10 47.34 MB/sec [4K blocks]
  Uncached Write 80.19 45.37 MB/sec [256K blocks]
  Uncached Read 88.00 25.75 MB/sec [4K blocks]
  Uncached Read 88.41 44.43 MB/sec [256K blocks]
  Random 41.18
  Uncached Write 15.21 1.61 MB/sec [4K blocks]
  Uncached Write 80.87 25.89 MB/sec [256K blocks]
  Uncached Read 92.53 0.66 MB/sec [4K blocks]
  Uncached Read 121.67 22.58 MB/sec [256K blocks]

That's w/o the patch. I guess I'll just leave it as it is. Oh, here's the kextstat | grep -i Intel

0xd8c1e000 0x7000    0x6000    com.apple.driver.AppleIntelPIIXATA (1.6) <29 23 11>
  47    0 0xd6f6e000 0xa000    0x9000    com.apple.driver.AppleIntelIntegratedGraphics (2.0.0) <46 11>
  50    0 0xd6f9c000 0x4000    0x3000    com.apple.driver.AppleAC97AudioIntelICH (1.0.0) <49 23 11>
  62    0 0xd8c6a000 0x8000    0x7000    com.apple.driver.AppleIntel8255x (1.4) <57 23 5 4 3 2>
  63    0 0xd8cb7000 0x21000    0x20000    com.apple.driver.AppleIntel830 (4.0.0) <59 46 23 11>

<{POST_SNAPBACK}>



#56
cyrana

cyrana

    Prophetess of Doom

  • Retired
  • 1,462 posts
  • Gender:Female
  • Location:Somewhere out there
The reason this is possible with some chipsets is they are fairly backwards compatible with ones that already have code written for them. For chipsets that aren't related to anything else (like ATI), we're probably out of luck.

#57
bender12

bender12

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts

The reason this is possible with some chipsets is they are fairly backwards compatible with ones that already have code written for them.  For chipsets that aren't related to anything else (like ATI), we're probably out of luck.

<{POST_SNAPBACK}>


The system will try to find an exact driver match based on the device ID... if it can't find it, it will attempt to use a generic driver... There is a Generic ATA driver, which is quite a bit slower, but is usually compatible. When you boot in verbose you will see something like AppleIntelPIIXATA or AppleGenericPCATA when it finds your hard drive controllers.

And of course, one you're booted you can use tools such as ioreg and kextstat to see what hardware was found and what kernel extensions were loaded.

#58
iradeon

iradeon

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Yeah mine goes into GenericPCATA but can't we make a driver for the HD?

#59
buddhaosx

buddhaosx

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
yeah this screwed my install also. sont boot into single user or anything. any ideas how i can change the original kext names back without reinstalling?

#60
Merlwiz79

Merlwiz79

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts

Can some one repost this file please?
[SIZE=7]

<{POST_SNAPBACK}>



Must use Internet Explorer to download.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy