local read: IOPS=12308, BW=48.1MiB/s write: IOPS=4111, BW=16.0MiB/s
nfs3-ganesha read: IOPS=7039, BW=27.5MiB/s write: IOPS=2352, BW=9.2MiB/s
nfs3-kernel read: IOPS=6571, BW=25.7MiB/s
using System; | |
using System.Threading.Tasks; | |
namespace System.Collections.Concurrent | |
{ | |
public static class ConcurrentDictionaryExtensions | |
{ | |
/// <summary> | |
/// Provides an alternative to <see cref="ConcurrentDictionary{TKey, TValue}.GetOrAdd(TKey, Func{TKey, TValue})"/> that disposes values that implement <see cref="IDisposable"/>. | |
/// </summary> |
local read: IOPS=12308, BW=48.1MiB/s write: IOPS=4111, BW=16.0MiB/s
nfs3-ganesha read: IOPS=7039, BW=27.5MiB/s write: IOPS=2352, BW=9.2MiB/s
nfs3-kernel read: IOPS=6571, BW=25.7MiB/s