Hi Rob,
Some things to think about from experiences a year or so ago...
If you intend to perform any HPC workload (writing / updating / deleting files) inside a cache, then appropriately specified gateway nodes will be your friend:
1. When creating, updating or deleting files in the cache, each operation requires acknowledgement from the gateway handling that particular cache, before returning ACK to the application. This will add a latency overhead to the workload - if your storage is IB connected to the compute cluster and using verbsRdmaSend for example, this will increase your happiness. Connecting low-spec gateway nodes over 10GbE with the expectation that they will "drain down" over time was a sore learning experience in the early days of AFM for me.
2. AFM queues can quickly eat up memory. I think around 350bytes of memory is consumed for each operation in the AFM queue, so if you have huge file churn inside a cache then the queue will grow very quickly. If you run out of memory, the node dies and you enter cache recovery when it comes back up (or another node takes over). This can end up cycling the node as it tries to revalidate a cache and keep up with any other queues. Get more memory!
I've not used AFM for a while now and I think the latter enormity has some mitigation against create / delete cycles (i.e. the create operation is expunged from the queue instead of two operations being played back to the home). I expect IBM experts will tell you more about those improvements. Also, several smaller caches are better than one large one (parallel execution of queues helps utilise the available bandwidth and you have a better failover spread if you have multiple gateways, for example).
Independent Writer mode comes with some small danger (user error or impatience mainly) inasmuch as whoever updates a file last will win; e.g. home user A writes a file, then cache user B updates the file after reading it and tells user A the update is complete, when really the gateway queue is long and the change is waiting to go back home. User A uses the file expecting the changes are made, then updates it with some results. Meanwhile the AFM queue drains down and user B's change arrives after user A has completed their changes. The interim version of the file user B modified will persist at home and user A's latest changes are lost. Some careful thought about workflow (or good user training about eventual consistency) will save some potential misery on this front.
Hope this helps,
Luke