Re: [zfs-discuss] single memory allocation in the ZFS intent log

2006-10-06 Thread Frank Hofmann
On Thu, 5 Oct 2006, Erblichs wrote: Casper Dik, After my posting, I assumed that a code question should be directed to the ZFS code alias, so I apologize to the people show don't read code. However, since the discussion is here, I will post a code proof here.

Re: [zfs-discuss] single memory allocation in the ZFS intent log

2006-10-06 Thread Erblichs
Group, This example is done with a single threaded app. It is NOT NOT NOT intended to show any level of Thread-safe type coding. It is ONLY used to show that it is signifcantly lower cost to grab pre-allocated objects than to allocate the objects

Re: [zfs-discuss] single memory allocation in the ZFS intent log

2006-10-05 Thread Erblichs
Casper Dik, After my posting, I assumed that a code question should be directed to the ZFS code alias, so I apologize to the people show don't read code. However, since the discussion is here, I will post a code proof here. Just use time program to get a

Re: [zfs-discuss] single memory allocation in the ZFS intent log

2006-10-04 Thread Erblichs
Casper Dik, Yes, I am familiar with Bonwick's slab allocators and tried it for wirespeed test of 64byte pieces for a 1Gb and then 100Mb Eths and lastly 10Mb Eth. My results were not encouraging. I assume it has improved over time. First, let me ask what

Re: [zfs-discuss] single memory allocation in the ZFS intent log

2006-10-04 Thread Casper . Dik
Casper Dik, Yes, I am familiar with Bonwick's slab allocators and tried it for wirespeed test of 64byte pieces for a 1Gb and then 100Mb Eths and lastly 10Mb Eth. My results were not encouraging. I assume it has improved over time. Nothing which tries to send 64 byte