On Mon, Sep 24, 2007 at 07:54:37PM +0200, Martin Michlmayr wrote: > - First, I reverted that R_ERR on DMA activate FIS errata fix which > you noticed in dmesg. Reverting this fix does not increase > performance. > > - Second, I applied Intel's IOP patches from SourceForge but again > they didn't help. Did you enable the dma engine in kernel config? There is three patches that could help: try-dma-memcpy.patch try-dma-copy-to-user.patch try-dma-copy-from-user.patch Although the comment about polling and no perfomance benefit seems to kill any hope.. > So I'm not quite sure why Debian with a modern kernel is much slower > to whatever Thecus' firmware was using. If anyone else has any good > ideas I'd love to hear them. While running tiobench: all6500-2:~# opreport --symbols -t 0.5 vmlinux CPU: ARM/XScale PMU1, speed 0 MHz (estimated) Counted CPU_CYCLES events (clock cycles counter) with a unit mask of 0x00 (No unit mask) count 100000 samples % symbol name 200062 43.2117 default_idle 67639 14.6095 __copy_from_user 48539 10.4840 cfq_set_request 8185 1.7679 xscale_mc_clear_user_page 7379 1.5938 mc_copy_user_page 5635 1.2171 scsi_track_queue_full 4431 0.9571 cpu_idle 3926 0.8480 update_mmu_cache 3813 0.8236 xscale_flush_user_cache_range 3646 0.7875 memmove 2316 0.5002 generic_file_buffered_write 2250 0.4860 journal_init_revoke 2177 0.4702 scsi_execute_async 2148 0.4639 ext3_set_aops 1926 0.4160 _local_bh_enable (The default_idle might simply be the time between tests) While running hdparm -tT : all6500-2:~# opreport --symbols -t 0.5 vmlinux CPU: ARM/XScale PMU1, speed 0 MHz (estimated) Counted CPU_CYCLES events (clock cycles counter) with a unit mask of 0x00 (No unit mask) count 100000 samples % symbol name 127724 49.3465 __copy_from_user 26340 10.1765 xscale_mc_clear_user_page 13717 5.2996 scsi_track_queue_full 7914 3.0576 mc_copy_user_page 5234 2.0222 scsi_execute_async 4647 1.7954 update_mmu_cache 4181 1.6153 xscale_flush_user_cache_range 3933 1.5195 _local_bh_enable 3401 1.3140 memmove 2241 0.8658 __make_request 1552 0.5996 target_block 1442 0.5571 sys_readahead 1392 0.5378 __dabt_usr 1299 0.5019 cpu_xscale_switch_mm ..Almost everything memory rather than sata controller related. -- "rm -rf" only sounds scary if you don't have backups
Attachment:
signature.asc
Description: Digital signature