Very slow file attach/detach

I am looking for a reason why I get really slow file attach/detach operations. By slow, I mean 30 time slower than it should be.For example detaching a file to a local disk takes about a minute and half. I tried this on domino server 8.5.1 (8.0.1) on linux, client (8.5.1, 8.0.1, 6.5.5) on winxp. I also tried different environments, like domino in linux native, and in esxi 4 and esxi 3.5. Always the same. Network troughput (measured with iptraf) is about 4000kbit/sec, it goes a little faster or slower but always around this number.

Machines are not doing nothing, utilization is almost 0%. And the hardware is super fast with harware raid and gigabit network.

I also used different servers - machines. And also different switches, and also in esxi with server and client machines on the same hardware. Always the same. Painfully slow.

Tried also with compression and without, pretty the same.

If I try to detach the same file over http it goes in a blink of few seconds !!!

But here it goes the best part. On some other installations, 8.0.1 server 8.01 client, it detaches pretty fast, in about 5-7 seconds.

So where is the trick?

Subject: Can you post some sample code?

So we can test? Thanks.

Subject: I am measuring lotus notes system function

There is no code/script involved.

I click Save file to local disk and I measure performance on server with iptraf. I measure this with 60mb word file attached.

I have some new details, if I measure a 5 year old install of linux (2.6.12) and lotus domino 7.0.1 on a desktop PC, it works fine, about 65.000kb/sec.

I also tried other type of linux-debian (2.6.26) with 8.5 and detach operation is about 13.000kbit/sec. This measurment is on same server like in message posted before, in Esxi 4.01 with hw raid, 12gb disk…

Subject: Another observation

If I detach the same file that was attached with different from the local copy of the database, I get different speed of detachment. In the ratio of magnitude (10-20 times faster). The file is the same. And it does not matter if it is attached with compression or not, with drag and drop or with action button.So it has to be something with client not the server.