Re: [SSSD] Speed hacks for testers

2010-02-27 Thread Simo Sorce
On Sat, 27 Feb 2010 17:37:27 -0500 Stephen Gallagher wrote: > Simo, see my recent patch to add a --with-test-dir. If you set this > to /dev/shm, it increases performance immensely. > Yes, I've seen that, but NOSYNC seem a better way then hacking up a RAM disk ... we may even think of adding a p

Re: [SSSD] Speed hacks for testers

2010-02-27 Thread Stephen Gallagher
Simo, see my recent patch to add a --with-test-dir. If you set this to /dev/shm, it increases performance immensely. On Feb 27, 2010, at 4:36 PM, Simo Sorce wrote: > > I hadn't run make check in a while while and today I discovered it was > horrendously slow. The problem lies almost entirely in

[SSSD] Speed hacks for testers

2010-02-27 Thread Simo Sorce
I hadn't run make check in a while while and today I discovered it was horrendously slow. The problem lies almost entirely in the fact that we use fsync a lot in all tests, this is because we want a "safe" behavior for our DB, so that a system crash will not also crash the db consistency and, at m

[SSSD] [PATCH] fix mismatched _recv function in proxy.c

2010-02-27 Thread Simo Sorce
While looking at the code I found this mismatch. The error is mostly cosmetic, but it's an error nonetheless. Simo. -- Simo Sorce * Red Hat, Inc * New York >From fe86826a2ad9f586e532fedce5ffc872a1311c32 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 27 Feb 2010 15:14:52 -0500 Subject: [P