lh> Is the fsync() on FreeBSD6.1 fake?
It doesn't appear to be:
sys/kern/vfs_syscalls.c: 3194: fsync(td, uap)
sys/ufs/ffs/ffs_vnops.c: 175: ffs_fsync(struct vop_fsync_args *ap)
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-pe
Greg 'groggy' Lehey wrote:
On Tuesday, 27 June 2006 at 10:18:47 +0800, leo huang wrote:
Hi,
I benchmarked MySQL 4.1.18 on FreeBSD 6.1 and Debian 3.1 using Super Smack
1.3 some days ago.
...
The result surprise me. The MySQL Performance on FreeBSD6.1 is about
10 times of on Debian3.1??and
hi, Arne,
You could do this test:
1. write some data with dd if=/dev/zero of=/tmp/a bs=1m count=100
2. then fsync /tmp/a
3. then listen to the hard disc
4. repeat it until u r sure, if the hard disc reacts on the fsync command...
:-)
Good idea. But the room is noisy. I think I can not hear. :-
On Tuesday, 27 June 2006 at 10:18:47 +0800, leo huang wrote:
> And how I can confirm this?
>
You could do this test:
1. write some data with dd if=/dev/zero of=/tmp/a bs=1m count=100
2. then fsync /tmp/a
3. then listen to the hard disc
4. repeat it until u r sure, if the hard disc reacts on the fs
Thanks Eric, Greg and Joseph.
I will get more information from [EMAIL PROTECTED]
2006/6/27, Eric Anderson <[EMAIL PROTECTED]>:
leo huang wrote:
> Hi,
>
> I benchmarked MySQL 4.1.18 on FreeBSD 6.1 and Debian 3.1 using Super Smack
> 1.3 some days ago.
>
> The benchmark table is
> CREATE TABLE `A