Welcome, Guest. Please login or register.

Author Topic: CSPPC & SFS scsi mask and max transfer?  (Read 1704 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline arnljotTopic starter

CSPPC & SFS scsi mask and max transfer?
« on: March 18, 2010, 05:53:09 PM »
What should I set, my setup is really unstable atm during disk access.

OS: AmigaOS 3.9 bb2
Latest PPC firmware
Scsi: propperly terminated. A CDROM and WideSCSI disk on chain.
Filesystem: SmartFileSystem 1.279
CPU: CSPPC 060 w 233mhz ppc
RAm: 2 + 16 + 128 (A4000cr)

Scenario 1:
Mask: 0xFFFFFFFC
Transfer: 0x00FFFFFF

RESULT: Everything hangs after a while. Can move windows, cannot open new drawers. Open shell windows will not respond.

Scenario 2:
Mask: 0x7FFFFFFC
Transfer: 0x00FFFE00

Result: Either a crash "DH1 Program failed (error #80000004), or a SFS requester with "illegal call to resetcachebuffer".

It's frustrating to say the least.
« Last Edit: March 18, 2010, 05:54:14 PM by arnljot »
A posting a day keeps the sanity away...
http://www.arnljot.com
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: CSPPC & SFS scsi mask and max transfer?
« Reply #1 on: March 18, 2010, 08:11:20 PM »
Maxtransfer depends on your host adapter. You might want to try smaller values to make sure nothing goes south. Lower values will increase overhead, thus might be slower. To high values may lead to crashes/read/write errors. As a non-expert for CS I'd say 0x00FFFE00 should be fine though. The best values should be in the manual, really.

The mask value defines were DMA buffers get allocated. It would be reasonable to exclude chip and Z II RAM as they're dog slow but the masking scheme more or less only allows you to limit the upper boundary of buffer space. However, as long as there's 32 bit RAM available it'll get used since it's got a higher priority.

If your problems happen before you run out of accelerator memory, I'd guess it's a RAM defect. If things happen when you run out of accelerator mem I'd double check the onboard RAM, just remove it for testing.