Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  ipod 5.5gen 80gb's test disk result
« previous next »
  • Print
Pages: [1]

Author Topic: ipod 5.5gen 80gb's test disk result  (Read 3834 times)

Offline isanggon

  • Member
  • *
  • Posts: 47
ipod 5.5gen 80gb's test disk result
« on: December 30, 2008, 01:33:21 AM »

I found my 80g's test disk result shows very slow on 512 byte writes are 23 KB/s or less!
Create and delete counts at the top are lower than 30gb.
I wonder this problem is mk8011gah's specific problem or ipod 80g mainboard's common problem.

And another thing,

Can I change this hdd to mk1214gah? Is it work on ipod 80g's mainboard?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ipod 5.5gen 80gb's test disk result
« Reply #1 on: December 30, 2008, 01:37:13 AM »
Heres the SVN message when support for the 80GB ipod was added:

Quote
"ATA driver: * Support for drives with large physical sectors and no support for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH)."

Logged

Offline isanggon

  • Member
  • *
  • Posts: 47
Re: ipod 5.5gen 80gb's test disk result
« Reply #2 on: December 30, 2008, 02:00:33 AM »
Thank you for quick answer. Then, it's harddrive specific problem.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: ipod 5.5gen 80gb's test disk result
« Reply #3 on: January 06, 2009, 12:27:33 AM »
4096 byte writes are so much faster that they should maybe be used instead.
For example take a look at this test disk result.  (That's the unboosted result without the patch.) 

Suppose a 512 byte write involved reading a 4096 byte block, altering a 512 byte part, and writing back the 4096 byte block.  To keep it simple and pessimistic, let's just use the slowest 4096 byte speed, 2313 KB/s.
(2313 * (512 / 4096)) / 2 = 144.56 KB/s
That's quite an improvement over the fastest 512 byte write speed of 23 KB/s!

The code is already present in firmware/drivers/ata.c.  Look at what MAX_PHYS_SECTOR_SIZE does.  It could maybe use a tweak though, only increasing how many sectors are written at a time because the current 512 byte read speed is similar to 30 gig iPods.

Edit:  On second thought, why not just enable write caching?  You do have a dependable power source:  a battery which the user cannot remove and clean shutdown before the battery gets too low.  All that's needed is a set features command to turn it on, and probably a flush before sleep.
« Last Edit: January 06, 2009, 03:36:02 PM by dreamlayers »
Logged

Offline isanggon

  • Member
  • *
  • Posts: 47
Re: ipod 5.5gen 80gb's test disk result
« Reply #4 on: January 09, 2009, 10:21:11 PM »
That's great idea. But sadly, I sold my 80g. It's disk speed was horrible. :-\
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: ipod 5.5gen 80gb's test disk result
« Reply #5 on: January 09, 2009, 10:27:31 PM »
Currently is there any way to get a Video iPod with more than 30GB and decent disk speed in Rockbox?  Do any of the higher capacity replacement disks give good performance?
Logged

Offline isanggon

  • Member
  • *
  • Posts: 47
Re: ipod 5.5gen 80gb's test disk result
« Reply #6 on: January 10, 2009, 02:07:39 AM »
At least, toshiba mk8025gal works fine with rockbox. I use gigabeat s30 with mk8025gal and disk performance was fine as well as Ipod 30gb's. I think mk8011gah is horrible with rockbox because its abnormal sector size, currently.
« Last Edit: January 10, 2009, 02:09:41 AM by isanggon »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  ipod 5.5gen 80gb's test disk result
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.076 seconds with 15 queries.