niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Squid
SATA Native Command Queuing
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Matt
*nix forums Guru Wannabe


Joined: 05 Mar 2005
Posts: 166

PostPosted: Tue Jul 18, 2006 4:08 pm    Post subject: SATA Native Command Queuing Reply with quote

Does Squd perform better with SATA drives that support "Native Command
Queuing"?

http://www.seagate.com/products/interface/sata/native.html

Matt
Back to top
Gary W. Smith
*nix forums addict


Joined: 12 Feb 2005
Posts: 70

PostPosted: Tue Jul 18, 2006 4:16 pm    Post subject: RE: SATA Native Command Queuing Reply with quote

This is more of an OS question in the general sense. Anything that can
speed up the drive operations is surely to have a positive impact on the
applications.

My understand of this (from a friend) is that it is possible that an
application could be slower under non-ideal circumstances. That is,
this drive now makes a decision of what data to retrieve when, instead
of just answering OS level requests. The elevator scenario is a good
example of how performance can be increased and decreased as well.

Say you have 100mb of data spread across the disk for squid and there is
a continuous log file or some very random access files (such as a web
server). As file writes are being requested to that log file and data
being request and written to the squid cache, it is possible that the
squid cache would get lower precedence than the rest of the system. The
flip is also true where the squid files are more continuous.

But if this is a dedicated server only housing squid then you would
probably see an improvement as there are no other apps really fighting
for disk time.

Just my $0.02

Gary Wayne Smith

Quote:
-----Original Message-----
From: Matt [mailto:matt@fileholder.net]
Sent: Tuesday, July 18, 2006 9:09 AM
To: squid-users@squid-cache.org
Subject: [squid-users] SATA Native Command Queuing

Does Squd perform better with SATA drives that support "Native Command
Queuing"?

http://www.seagate.com/products/interface/sata/native.html

Matt
Back to top
Henrik Nordstrom
*nix forums Guru


Joined: 01 Feb 2005
Posts: 2377

PostPosted: Tue Jul 18, 2006 8:50 pm    Post subject: RE: SATA Native Command Queuing Reply with quote

tis 2006-07-18 klockan 09:16 -0700 skrev Gary W. Smith:

Quote:
My understand of this (from a friend) is that it is possible that an
application could be slower under non-ideal circumstances. That is,
this drive now makes a decision of what data to retrieve when, instead
of just answering OS level requests. The elevator scenario is a good
example of how performance can be increased and decreased as well.

The buffer space available in the drives is too small compared to the OS
buffers for this to be visible I would say..

and assuming the drive logics is not too dumb and gives read somewhat
higher priority than write then it's likely to make better decisions
than the OS elevator as it has more indepth knowledge of the seek
position.

So in either case it should be a win for Squid as it allows the drive to
operate much more efficient.

Regards
Henrik
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 11:34 pm | All times are GMT
navigation Forum index » Apps » Squid
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Solaris dd command problem prak Solaris 0 Fri Jul 21, 2006 5:43 am
No new posts Solaris dd command problem prak Solaris 0 Fri Jul 21, 2006 5:43 am
No new posts Solaris dd command problem prak Solaris 4 Fri Jul 21, 2006 5:43 am
No new posts Why nohup & doesn't work? ankyhe@gmail.com Solaris 2 Wed Jul 19, 2006 12:13 pm
No new posts Bug#378859: ITP: pypar2 -- graphical frontend for the par... Piotr Ozarowski devel 1 Wed Jul 19, 2006 12:00 pm

Low Interest Credit Card | Loans | Advertising | Loans | Electricity Suppliers
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1391s ][ Queries: 16 (0.0682s) ][ GZIP on - Debug on ]