Re: Kernel 2.2.14, dirty buffers, stalls in interactivity of system/NFS-clients ...

From: Daniel J Blueman (daniel.j.blueman@stud.umist.ac.uk)
Date: Wed Mar 29 2000 - 11:13:49 EST


Hi Richard,

> I found that the large flushes, taking a long time, made my workstation
> a bit temperamental so I run a little daemon that does what bdflush used
> to do:
>
> for(;;)
> {
> sync();
> sleep(30);
> }

Calling sync() is a Bad Thing as far as performance goes. It holds the
global kernel lock for quite a long time. On a production server, that
_would_ cause things to grind to a halt for the duration of the flush. On a
workstation, it'll not do too much harm. The kernel thread kflushd does (or
should do) what bdflush does anyway.

- Dan
__________________________
Daniel J Blueman
Undergraduate - BSc Computing Science
UMIST university - Manchester
Direct line: 0161 933 3569
Mobile: 07775 583766
Email: daniel.j.blueman@stud.umist.ac.uk
SMS: daniel.j.blueman@sms.genie.co.uk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:25 EST