Thread View: news.software.nntp
15 messages
15 total messages
Started by Elizabeth Schwartz
Sat, 12 Oct 1996 00:00
atime updates on news spool disk - Sun OS 4.1.4??
Author: Elizabeth Schwartz
Date: Sat, 12 Oct 1996 00:00
Date: Sat, 12 Oct 1996 00:00
15 lines
1082 bytes
1082 bytes
Removing these has been mentionned as a way to speed performance. Is there anyway to do this under Sun OS 4.1.4? Any other OS-Specific performance tips would be GREATLY appreciated! Especially on speeding up expire... thanks Betsy -- System Administrator Internet: betsys@cs.umb.edu MACS Dept, UMass/Boston Phone : 617-287-6448 100 Morrissey Blvd FAX : 617-287-6499 Boston, MA 02125-3393 Staccato signals of constant information....
Re: atime updates on news spool disk - Sun OS 4.1.4??
Author: Eric Mehlhaff
Date: Mon, 14 Oct 1996 00:00
Date: Mon, 14 Oct 1996 00:00
22 lines
1325 bytes
1325 bytes
Actually, I'm curious what OS's support this feature, and how it's implemented or activated on them. In article <jdvicggo2t.fsf@terminus.cs.umb.edu>, Elizabeth Schwartz <betsys@cs.umb.edu> wrote: >Removing these has been mentionned as a way to speed performance. Is there >anyway to do this under Sun OS 4.1.4? > >Any other OS-Specific performance tips would be GREATLY appreciated! >Especially on speeding up expire... > >thanks Betsy >-- >System Administrator Internet: betsys@cs.umb.edu >MACS Dept, UMass/Boston Phone : 617-287-6448 >100 Morrissey Blvd FAX : 617-287-6499 >Boston, MA 02125-3393 Staccato signals of constant information....
atime updates on news spool disk - how about Linux?
Author: Jason Haar
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
12 lines
847 bytes
847 bytes
Is this supported under Linux? Sounds like a great way of squeezing a bit more performance out of the systems... -- Cheers, +++++++++++++++++++++++++++++++++++++++++++++++ Jason Haar, Unix/Internet Manager OiT, Oxford. Phone: +44 1865 785051
Re: atime updates on news spool disk - how about Linux?
Author: Mike O'Connor
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
12 lines
1119 bytes
1119 bytes
:>Is this supported under Linux? Sounds like a great way of squeezing a bit :>more performance out of the systems... Clayton O'Neill's patches for Linux are on http://www.news.erols.com/ I use them. I endorse them. Thanks again! -- Michael J. O'Connor mjo@dojo.mi.org "Never never never never never never NEVER trust a tiger." -Calvin
Re: atime updates on news spool disk - how about Linux?
Author: Fu Bar
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
15 lines
1289 bytes
1289 bytes
On 16 Oct 1996, Cor Bosman wrote: > Dont know if linux can do it, but linux should be easy to patch. There are actually 2 different patches for linux floating around. I'm using one that makes no_atime a mount option. ------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/hr. ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
Re: atime updates on news spool disk - how about Linux?
Author: Greg Andrews
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
42 lines
2619 bytes
2619 bytes
cor@xs4all.nl (Cor Bosman) writes:
>jason@oit.co.uk (Jason Haar) writes:
>
>>Is this supported under Linux? Sounds like a great way of squeezing a bit
>>more performance out of the systems...
>
>We've been doing this for a while now (several months) on 2 BSDI boxes.
>We patched the bsdi kernel to drop atime updates. The difference is
>_substantial_. We measured about 30% increase in IO performance.
>
>I have sent a request to Sun to implement this in future releases as
>a mount flag for instance. Last I heard they wanted to test the patches
>they made. Seems Sun is working on it. I know the Netapps boxes also
>have the possibility. Probably forced onto them by netcom ;)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
Not really. Netcom wasn't even aware of the effects of atime updates
until NetApp pointed it out to us. We went to NetApp asking for help
with one of our news NFS servers that was running slowly. The NetApp
engineers installed a special kernel that let them profile the workload
on the box, and they noticed the huge amount of atime updates. (something
like 70-80% of the disk writes were atime updates)
When Netcom agreed that they weren't necessary for a news spool, NetApp
created a flag to disable them. After that, the server was fast again.
So Netcom didn't really force NetApp to do that. More of a cooperative
relationship. NetApp provided the analysis, and Netcom provided the
(overloaded) test bed.
I wish I could remember the names of those NetApp engineers. They deserve
the recognition for a job well done.
-Greg (former Netcom news admin)
--
::::::::::::::::::: Greg Andrews gerg@netcom.com :::::::::::::::::::
To invent, you need a good imagination and a pile of junk.
-- Thomas Edison
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Re: atime updates on news spool disk - how about Linux?
Author: Cor Bosman
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
25 lines
1730 bytes
1730 bytes
jason@oit.co.uk (Jason Haar) writes: >Is this supported under Linux? Sounds like a great way of squeezing a bit >more performance out of the systems... We've been doing this for a while now (several months) on 2 BSDI boxes. We patched the bsdi kernel to drop atime updates. The difference is _substantial_. We measured about 30% increase in IO performance. I have sent a request to Sun to implement this in future releases as a mount flag for instance. Last I heard they wanted to test the patches they made. Seems Sun is working on it. I know the Netapps boxes also have the possibility. Probably forced onto them by netcom ;) Dont know if linux can do it, but linux should be easy to patch. Cor -- ------------------------------------------------------------------------------ | Cor Bosman | ____Xs4all Public Access____ | tel: +31-(0)20-622-2885 | | cor@in.ter.net | Network Administrator | fax: +31-(0)20-622-2753 | -------------------------------------------------------------------------SP6--
Re: atime updates on news spool disk - how about Linux?
Author: Chrisy Luke
Date: Thu, 17 Oct 1996 00:00
Date: Thu, 17 Oct 1996 00:00
18 lines
1365 bytes
1365 bytes
On 16 Oct 1996 15:49:49 GMT, cor@xs4all.nl (Cor Bosman) wrote: >We've been doing this for a while now (several months) on 2 BSDI boxes. >We patched the bsdi kernel to drop atime updates. The difference is >_substantial_. We measured about 30% increase in IO performance. So... where's ya patches for it? ;) Chris. == chrisy@easynet.net, chrisy@flirble.org.uk, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == To Flirble or not to Flirble? That is not a question, but a == statement of being, of life and of survival.
Re: atime updates on news spool disk - FreeBSD
Author: Ollivier Robert
Date: Thu, 17 Oct 1996 00:00
Date: Thu, 17 Oct 1996 00:00
25 lines
1426 bytes
1426 bytes
[courtesy cc of this posting sent to cited author via email]
In article <53tus7$1p9@nexp.crl.com>,
Eric Mehlhaff <mehlhaff@crl4.crl.com> wrote:
> Actually, I'm curious what OS's support this feature, and how it's
> implemented or activated on them.
FreeBSD 2.2-CURRENT has an option for this. It is enabled by an option
``noatime'' in /etc/fstab.
davidg 96/09/03 00:13:57
Modified: sbin/mount mntopts.h mount.c
Log:
Implemented user side of "noatime" mount option. This option disables
the file access time update on reads and can be useful in reducing
filesystem overhead in cases where the access time is not important (like
Usenet news spools).
--
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr
Usenet Canal Historique
Re: atime updates on news spool disk - Sun OS 4.1.4??
Author: Joe Greco
Date: Fri, 18 Oct 1996 00:00
Date: Fri, 18 Oct 1996 00:00
47 lines
2594 bytes
2594 bytes
In article <53tus7$1p9@nexp.crl.com>, Eric Mehlhaff <mehlhaff@crl4.crl.com> wrote: >Actually, I'm curious what OS's support this feature, and how it's implemented >or activated on them. I believe that I started this whole thing back in June or July by hacking it into FreeBSD and then asking if any real FS hackers had a cleaner way to do it.. Clayton O'Neill apparently got wind of this and appears to have written a Linux ext2fs feature implementation to do this. I have seen the patch and could dig it up if needed, but I do not run Linux so I can not say how well it worked, or how to use it. David Greenman wrote and mentioned that he had a similar FreeBSD patch "almost" written. As mine was rather naive, I chose to trust that someone as familiar with BSD internals as David Greenman would write a much better patch. Both patches allowed a "per filesystem" mount flag to be set to specify "noatime". David's work is in 2.2-CURRENT, but he provided the essentials to make it work on 2.1.5R. I reformatted it a bit to be easier to apply, and have had no problems with it on either 2.1.5R or 2.1.0R. I will gladly mail it to anyone who wants it along with a short set of instructions. The NetApp NFS servers appear to support it. Sun does not appear to support it. It is generally not a "rocket science" thing to support, so if you don't have it, bug your vendor! It is ideal for Web stuff and news stuff. >In article <jdvicggo2t.fsf@terminus.cs.umb.edu>, >Elizabeth Schwartz <betsys@cs.umb.edu> wrote: >>Removing these has been mentionned as a way to speed performance. Is there >>anyway to do this under Sun OS 4.1.4? >> >>Any other OS-Specific performance tips would be GREATLY appreciated! >>Especially on speeding up expire... You can speed up expire (generally) by adding RAM. Also make sure you are using the "delayrm" option, for optimal performance. ... JG
Re: atime updates on news spool disk - FreeBSD
Author: Marc Slemko
Date: Fri, 18 Oct 1996 00:00
Date: Fri, 18 Oct 1996 00:00
17 lines
1184 bytes
1184 bytes
In <545847$kn4@polaris.eurocontrol.fr> Ollivier.Robert@eurocontrol.fr (Ollivier Robert) writes: >In article <53tus7$1p9@nexp.crl.com>, >Eric Mehlhaff <mehlhaff@crl4.crl.com> wrote: >> Actually, I'm curious what OS's support this feature, and how it's >> implemented or activated on them. >FreeBSD 2.2-CURRENT has an option for this. It is enabled by an option >``noatime'' in /etc/fstab. >davidg 96/09/03 00:13:57 And davidg also made a similar patch for FreeBSD 2.1.5 or -stable. If anyone is interested, let me know and I can post it.
Re: atime updates on news spool disk - Sun OS 4.1.4??
Author: Fu Bar
Date: Fri, 18 Oct 1996 00:00
Date: Fri, 18 Oct 1996 00:00
19 lines
1470 bytes
1470 bytes
On 18 Oct 1996, Joe Greco wrote: > Clayton O'Neill apparently got wind of this and appears to have written > a Linux ext2fs feature implementation to do this. I have seen the patch > and could dig it up if needed, but I do not run Linux so I can not say > how well it worked, or how to use it. I've been using Clayton's patch for a while, and have it on my ftp server ftp://ftp.fdt.net:/pub/People/fubar/linux/patches/noatime.diff ------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/hr. ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
Re: atime updates on news spool disk - FreeBSD
Author: Marc Slemko
Date: Mon, 21 Oct 1996 00:00
Date: Mon, 21 Oct 1996 00:00
232 lines
8655 bytes
8655 bytes
In <54857u$19s@alive.ampr.ab.ca> marcs@alive.ampr.ab.ca (Marc Slemko) writes:
>In <545847$kn4@polaris.eurocontrol.fr> Ollivier.Robert@eurocontrol.fr (Ollivier Robert) writes:
>>In article <53tus7$1p9@nexp.crl.com>,
>>Eric Mehlhaff <mehlhaff@crl4.crl.com> wrote:
>>> Actually, I'm curious what OS's support this feature, and how it's
>>> implemented or activated on them.
>>FreeBSD 2.2-CURRENT has an option for this. It is enabled by an option
>>``noatime'' in /etc/fstab.
>>davidg 96/09/03 00:13:57
>And davidg also made a similar patch for FreeBSD 2.1.5 or -stable.
>If anyone is interested, let me know and I can post it.
Here is the patch that David Greenman posted to a FreeBSD mailing
list. Everything needed should be in there.
-------------------------------------------
From dg@root.com Mon Oct 21 19:45:21 1996
Date: Wed, 04 Sep 1996 18:19:22 -0700
From: David Greenman <dg@root.com>
To: Joe Greco <jgreco@brasil.moneng.mei.com>
Cc: "Matthew N. Dodd" <winter@jurai.net>, freebsd-isp@freebsd.org
Subject: Re: Anyone using ccd (FreeBSD disk striper) for news
>Sorry :-( Blew them away when I upgraded the box to 2.1.5R. I was
>convinced that they were not the right way to do it and DG had mentioned
>"almost" having it working, and I figured that somebody who had a clue
>about FreeBSD/BSD system internals had a much better chance of getting
>a technically correct implementation than I did.
>
>> > It's icky, at least the way I did it. DG had also worked on this and
>> > I'd really really like to see his work....
>>
>> Yes, wasn't he talking about cleaning it up and commiting it?
>
>Yes... :-)
>
>> That would be a spiffy option to have out of box.
>
>Agreed.
I committed the changes for -current, although I haven't documented the new
"noatime" option in the manual page yet - I'd like to get a little more testing
done with it first by other people.
The changes for 2.1.5 are attached.
-DG
David Greenman
Core-team/Principal Architect, The FreeBSD Project
Index: sys/kern/vfs_syscalls.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/vfs_syscalls.c,v
retrieving revision 1.25.4.4
diff -c -r1.25.4.4 vfs_syscalls.c
*** vfs_syscalls.c 1996/01/16 13:09:33 1.25.4.4
--- vfs_syscalls.c 1996/09/03 04:40:11
***************
*** 168,176 ****
else if (mp->mnt_flag & MNT_RDONLY)
mp->mnt_flag |= MNT_WANTRDWR;
mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
! MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC);
mp->mnt_flag |= uap->flags & (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
! MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | MNT_FORCE);
/*
* Mount the filesystem.
*/
--- 168,176 ----
else if (mp->mnt_flag & MNT_RDONLY)
mp->mnt_flag |= MNT_WANTRDWR;
mp->mnt_flag &=~ (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
! MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | MNT_NOATIME);
mp->mnt_flag |= uap->flags & (MNT_NOSUID | MNT_NOEXEC | MNT_NODEV |
! MNT_SYNCHRONOUS | MNT_UNION | MNT_ASYNC | MNT_FORCE | MNT_NOATIME);
/*
* Mount the filesystem.
*/
Index: sys/sys/mount.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/mount.h,v
retrieving revision 1.19.4.1
diff -c -r1.19.4.1 mount.h
*** mount.h 1996/03/21 20:30:14 1.19.4.1
--- mount.h 1996/09/03 05:54:29
***************
*** 63,70 ****
#define MNAMELEN 90 /* length of buffer for returned name */
struct statfs {
! short f_type; /* type of filesystem (see below) */
! short f_flags; /* copy of mount flags */
long f_bsize; /* fundamental file system block size */
long f_iosize; /* optimal transfer block size */
long f_blocks; /* total data blocks in file system */
--- 63,69 ----
#define MNAMELEN 90 /* length of buffer for returned name */
struct statfs {
! long f_spare2; /* placeholder */
long f_bsize; /* fundamental file system block size */
long f_iosize; /* optimal transfer block size */
long f_blocks; /* total data blocks in file system */
***************
*** 73,79 ****
long f_files; /* total file nodes in file system */
long f_ffree; /* free file nodes in fs */
fsid_t f_fsid; /* file system id */
! long f_spare[9]; /* spare for later */
char f_mntonname[MNAMELEN]; /* directory on which mounted */
char f_mntfromname[MNAMELEN];/* mounted filesystem */
};
--- 72,81 ----
long f_files; /* total file nodes in file system */
long f_ffree; /* free file nodes in fs */
fsid_t f_fsid; /* file system id */
! uid_t f_owner; /* user that mounted the filesystem */
! int f_type; /* type of filesystem (see below) */
! int f_flags; /* copy of mount flags */
! long f_spare[6]; /* spare for later */
char f_mntonname[MNAMELEN]; /* directory on which mounted */
char f_mntfromname[MNAMELEN];/* mounted filesystem */
};
***************
*** 152,157 ****
--- 154,160 ----
#define MNT_NODEV 0x00000010 /* don't interpret special files */
#define MNT_UNION 0x00000020 /* union with underlying filesystem */
#define MNT_ASYNC 0x00000040 /* file system written asynchronously */
+ #define MNT_NOATIME 0x10000000 /* Disable update of file access times */
/*
* exported mount flags.
***************
*** 173,179 ****
/*
* Mask of flags that are visible to statfs()
*/
! #define MNT_VISFLAGMASK 0x0000ffff
/*
* filesystem control flags.
--- 176,185 ----
/*
* Mask of flags that are visible to statfs()
*/
! #define MNT_VISFLAGMASK (MNT_RDONLY|MNT_SYNCHRONOUS|MNT_NOEXEC|MNT_NOSUID| \
! MNT_NODEV|MNT_UNION|MNT_ASYNC|MNT_EXRDONLY|MNT_EXPORTED| \
! MNT_DEFEXPORTED|MNT_EXPORTANON|MNT_EXKERB|MNT_LOCAL| \
! MNT_QUOTA|MNT_ROOTFS|MNT_USER|MNT_NOATIME)
/*
* filesystem control flags.
Index: sys/ufs/ufs/ufs_readwrite.c
===================================================================
RCS file: /home/ncvs/src/sys/ufs/ufs/ufs_readwrite.c,v
retrieving revision 1.9.4.1
diff -c -r1.9.4.1 ufs_readwrite.c
*** ufs_readwrite.c 1996/06/25 03:02:11 1.9.4.1
--- ufs_readwrite.c 1996/09/03 04:30:36
***************
*** 156,162 ****
}
if (bp != NULL)
brelse(bp);
! ip->i_flag |= IN_ACCESS;
return (error);
}
--- 156,163 ----
}
if (bp != NULL)
brelse(bp);
! if (!(vp->v_mount->mnt_flag & MNT_NOATIME))
! ip->i_flag |= IN_ACCESS;
return (error);
}
Index: sbin/mount/mntopts.h
===================================================================
RCS file: /home/ncvs/src/sbin/mount/mntopts.h,v
retrieving revision 1.4.4.1
diff -c -r1.4.4.1 mntopts.h
*** mntopts.h 1995/08/30 09:21:55 1.4.4.1
--- mntopts.h 1996/09/03 04:45:22
***************
*** 42,47 ****
--- 42,48 ----
/* User-visible MNT_ flags. */
#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
+ #define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
#define MOPT_NOAUTO { "auto", 1, 0, 0 }
#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }
***************
*** 69,74 ****
--- 70,76 ----
/* Standard options which all mounts can understand. */
#define MOPT_STDOPTS \
MOPT_FSTAB_COMPAT, \
+ MOPT_NOATIME, \
MOPT_NOAUTO, \
MOPT_NODEV, \
MOPT_NOEXEC, \
Index: sbin/mount/mount.c
===================================================================
RCS file: /home/ncvs/src/sbin/mount/mount.c,v
retrieving revision 1.6.4.1
diff -c -r1.6.4.1 mount.c
*** mount.c 1995/08/30 09:22:02 1.6.4.1
--- mount.c 1996/09/03 04:44:43
***************
*** 84,89 ****
--- 84,90 ----
{ MNT_ASYNC, "asynchronous" },
{ MNT_EXPORTED, "NFS exported" },
{ MNT_LOCAL, "local" },
+ { MNT_NOATIME, "noatime" },
{ MNT_NODEV, "nodev" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
Re: atime updates on news spool disk - how about Linux?
Author: Bradley Ward Allen
Date: Mon, 21 Oct 1996 00:00
Date: Mon, 21 Oct 1996 00:00
15 lines
1296 bytes
1296 bytes
In article <slrn569r1a.dl.jason@pris.oit.co.uk>, Jason Haar <jason@oit.co.uk> wrote: >Is this supported under Linux? Sounds like a great way of squeezing a bit >more performance out of the systems... Shoot, I can't find the patch, but there's definately a discussion about it. Check <ML-2.2.834058427.7457.torvalds@linux.cs.helsinki.fi> on NNTP.Q.NET, and note it's probably very simple to disable the feature manually in the kernel source until they make an inherited bit/mount feature/kernel option/whatever. A few people reported running with a patch to not run atime and it helped them a lot. Asking again on the kernel list may not hurt.
Re: atime updates on news spool disk - how about Linux?
Author: Rene Hoejbjerg Larsen
Date: Sat, 26 Oct 1996 00:00
Date: Sat, 26 Oct 1996 00:00
21 lines
1644 bytes
1644 bytes
Bradley Ward Allen wrote: > > In article <slrn569r1a.dl.jason@pris.oit.co.uk>, > Jason Haar <jason@oit.co.uk> wrote: > >Is this supported under Linux? Sounds like a great way of squeezing a bit > >more performance out of the systems... > > Shoot, I can't find the patch, but there's definately a discussion > about it. Check <ML-2.2.834058427.7457.torvalds@linux.cs.helsinki.fi> > on NNTP.Q.NET, and note it's probably very simple to disable the > feature manually in the kernel source until they make an inherited > bit/mount feature/kernel option/whatever. A few people reported > running with a patch to not run atime and it helped them a lot. > Asking again on the kernel list may not hurt. I've read in comp.os.linux.development.kernel that the atime patch can be found in <ftp://ftp.lmh.ox.ac.uk/pub/linux/kernel/patch/>. Haven't checked this out though...
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads