website

Make a Mobile Friendly Blog with Google Reader

imran's picture

In today's world of high mobility, the technology savvy are now finding it uneasy to log in a computer every time they want to check some thing online. One of the things that people look out for is blogs and articles as per their needs.

Now web site for password storage

imran's picture


Ever lose a password? How about create a password that's far too simple just so you can remember it?

ITVidya needs Beta- testers for its new site

imran's picture

Hi Friends,

It feels great to let you know that we at ITVidya are planning to roll out a new version of www.itvidya.com soon. It will have new and trendy look along with a lot of new features that will surely help to quench the thirst of knowledge sharing amongst the members.

The work for new site is almost done. But as you know, to materialize any fruitful idea into a useful product, the feedbacks of the people using it is of outmost importance. Keeping in this league we request the participation of ITVidya members in testing the new version of ITVidya, before we launch it for all the members.

Which is Faster: SAN or Directly-Attached Storage?

imran's picture

Should I place my database files on SAN or directly-attached storage? This is a frequently asked question. It comes up repeatedly in public newsgroups, email discussion lists, and private meetings with customers who are concerned with database performance.

What SAN?
A Storage Area Network (SAN) may mean two different things. To the storage professionals, it could narrowly mean the switched fabric between the host servers and the sophisticated disk arrays that actually store data. To most other folks, however, the distinction between the switched fabric and the disk arrays means very little. Rather, they view the fabric and the disk arrays -- practically everything behind the drive and beyond the host server -- as comprising the SAN. This article assumes this most common view.

To simplify discussions in the rest of this article, a drive from a directly-attached storage will be referred to as a DAS drive, and a drive presented from a SAN as a SAN drive.

What is meant by "faster"?
To address the question of which is faster, you must be clear about what you mean by "faster". In general, you can use three key metrics to quantify the performance of a disk I/O path:

  • I/Os per second (IOps)
  • Megabytes per second (MBps)
  • Latency

IOps measures how many I/O requests can be satisfied by the disk I/O path in a second. For a given disk I/O path, this metric is generally in reverse proportion to the size of the I/O requests. That is, the larger the I/O requests, the lower the IOps. This is intuitive. After all, it takes more time to process a 256KB I/O request than it does an 8KB request.

MBps measures how much data can be pumped through the disk I/O path. If you view the I/O path as a pipeline, MBps measures how big the pipeline is and how much pressure it can sustain. So, the bigger the pipeline is and the more pressure it can handle, the more megabytes of data it can push through. For a given I/O path, MBps is in direct proportion to the size of the I/O requests. That is, the larger the I/O requests, the higher the MBps. Larger I/Os give you better throughput because they incur less disk seek time penalty than smaller I/Os.

Note that for I/O requests of a fixed block size, MBps is simply IOps times the block size in megabytes.

I/O latency--also known as I/O response time--measures how fast an I/O request can be processed by the disk I/O subsystem. For a given I/O path, it is in reserve proportion to the size of the I/O request. As mentioned previously, a larger I/O request takes longer to complete.

Generally speaking, you should pay more attention to IOps and I/O latency when it comes to small-sized I/O requests, and be more concerned with MBps when dealing with large-sized I/O requests. But whether you report IOps or MBps, you should always keep I/O latency in the picture. Note that as you push a disk I/O subsystem to sustain higher IOps or MBps, the average I/O latency will continue to go up. After a certain point, the latency will increase exponentially as you put even more I/O requests on the system. If you obtain a good IOps or MBps number at the expense of a very high I/O latency, that IOps or MBps number may not be very useful in practice.

What does all this have to do with the question of which is faster, SAN or directly-attached storage? Well, these three metrics define precisely what is meant by "faster". So when you say one is faster than the other, you have to be explicit about what measure you are referring to.

Let us examine the question along these three performance measures, and let's start with the I/O latency measure first.

Disk I/O latency
SANs almost always come out a loser when it competes with DAS on I/O latency under light load. If you don't believe me, you can measure it yourself, and you don't need any fancy tool to obtain convincing data points.

To measure the latency of an I/O path under the best possible condition, you should issue single-threaded I/O requests, i.e. synchronous I/Os. If you are using an I/O benchmark tool such as IOMeter or sqlio.exe, for instance, you can configure a single worker thread to issue small sequential writes with a queue depth of one.

Alternatively, you can use a simple SQL Server script to measure the latency of an I/O path. The following T-SQL script is an example that can help you ascertain the best possible disk I/O latency (or response time) when committing a SQL Server database transaction. The script assumes that D is a directly-attached internal drive and E is a drive presented to the same server from a SAN.

-- create a small database on the local internal drive D
CREATE DATABASE io_test_D ON PRIMARY
(NAME=N'io_test_d_data', FILENAME=N'd:\io_test_d.mdf', SIZE=255)
LOG ON
(NAME=N'io_test_d_log', FILENAME=N'd:\io_test_d.ldf', SIZE=2000);
go
ALTER DATABASE io_test_D SET RECOVERY SIMPLE;

-- create a small database on the SAN drive E
CREATE DATABASE io_test_E ON PRIMARY
(NAME=N'io_test_e_data', FILENAME=N'e:\io_test_e.mdf', SIZE=255)
LOG ON
(NAME=N'io_test_e_log', FILENAME=N'e:\io_test_e.ldf', SIZE=2000);
go
ALTER DATABASE io_test_E SET RECOVERY SIMPLE;
go

-- Create two identical tables, one in each database
use io_test_D
go
CREATE TABLE test (i CHAR(200) NOT NULL);
INSERT test VALUES('ABC');
go
use io_test_E
go
CREATE TABLE test (i CHAR(200) NOT NULL);
INSERT test VALUES('ABC');
go

-- Run the following script on database io_test_D and io_test_E.
-- Run the script multiple times in each database, and alternate
-- the test runs to get consistent measures
SET NOCOUNT ON;
DECLARE @i int,
@start datetime;
SET @i = 1;
SET @start = getdate();

WHILE @i < 10
BEGIN
UPDATE test
SET i = cast(@i as CHAR(200));
SET @i = @i + 1;
END
SELECT 'Duration' = datediff(ms, @start, getdate()),
'Latency' = datediff(ms, @start, getdate())/10000.0;

Facebook lowest on performance

Facebook might be making waves but the immensely popular social networking site does not fare well when it comes to Site Performance Index (SPI).

A research report by website monitoring company WatchMouse ranks Facebook as the worst for availability.

The report finds out that popular social networking sites are often slow to open or load properly. WatchMouse monitored the Web 2.0 sites, listed on Wikipedia, on the basis of time taken to load.

Faceparty performs the best with an SPI of 303, meaning users can access the site most frequently and in the fastest time. Of the 104 sites monitored, 51 showed an SPI of 1000 or more, making them very slow in load time.

Other well known networking sites like Twitter, last.fm, Windows Live Spaces, Friendster and del.icio.us also feature in the report.

The research report goes on the say that most sites still have a lot to work on if they want their users to keep returning to their site. The research shows that most web users are very impatient and will wait no longer than four seconds for a webpage to load.

"It is interesting to see that popular networking sites turn out to have very bad performance," says Mark Pors, CTO at WatchMouse.

"It is surprising they still have such a big fan base when they serve their users so badly. Using Ajax technology, they should be able to work more effectively. For now the sites will need to do a lot of work to remain popular and improve their performance," suggests Pors.

Past Events by ITvidya

Click on the event to get details about the event

  • Elitex 2008 - New Delhi

    To disseminate information on these technologies and products developed through this effort among the users and the industry, the Department of Information Technology (DIT) has been organizing, an annual interaction, Electronics & Information Technology Exposition (ELITEX), which is now an eagerly awaited event in the calendar of technology meets.

  • HeadStart 2008 and Compute 2008 - Bangalore

    ompute 2008 and HeadStart 2008 sponsored by ACM Bangalore is a set of co-located International conferences aimed at promoting and showcasing new research and applied technology implementations.

  • BarCamp - Ahmedabad

    f you are passionate about Startups and related eco-system, Web 2.0, Rich Internet Applications, Flex, Mobile Technology, iPhone, OpenSocial, Facebook Applications, Android, Service Oriented Architecture, Mash-ups, Semantic Web, Open Source Technology or Open Standards, programming in general or about any other technology please continue

  • OMCAR 2008

    OMCAR 2008 is going to be the World's first online marketing careers conference. Hosted by OM Careers (a non-profit organization & an online marketing careers community) OMCAR is designed to create a confluence for the burgeoning Online Marketing Industry and the Professional talent who dream to be a part of it.

  • TECS 2008

What is The Google Sandbox ?

imran's picture

The Google Sandbox is an algorithmic filter designed by Google and implemented around March 2004 with the purpose of weeding out spam sites by placing all new website's under quarantine for a period of assessment.
How Does The Google Sandbox Affect Your New Site?

Although the Google sandbox was designed with the primary aim of targeting spam sites, in reality it affects all new website's. The general consensus in seo (search engine optimization) circles is that the Google sandbox algorithm functions to prevent new sites from blasting their way to the top of Google (using whatever means possible) and in effect overtaking quality website's that have been around for years.

Past Events by ITvidya

Click on the event to get details about the event


Google Docs easily tops online rivals in visitors

mirowais's picture

Statistics show a sevenfold increase in traffic for Google's apps suite during October
Google Inc.'s Google Docs software has cemented its position as the leading suite of online office applications, based on unique-visitor statistics released Thursday by a Web-audience research firm showing Google holding a commanding lead over start-up rivals as well as Microsoft Corp.

The Web site for the free, still-in-beta Google Docs suite snared more than 1.4 million unique visitors in October, seven times more than it did in the same month last year, according to Boston-based Compete Inc.

Should I MetaTag Every Page?

imran's picture

As a Webmaster or an Internet website promoter, it seems that every day you are playing the page views and visitors game. Not a day goes by where you don’t try every little trick, every single technique that you can think of in order to get more people to visit your website. Whether it is advertising via banner ads, buying space in e-mail newsletters, or, sometimes the most tedious task of all, advertising via search engines, you spend countless hours trying to inch that access counter a little higher.

Past Events by ITvidya

Click on the event to get details about the event


Events by ITvidya in 2007

Click on the event to get details about the event


Events by ITvidya in 2007

Click on the event to get details about the event


Requirement for Web Designer

Technoinfonet's picture

Hi,

Techno Consultancy (UK) Limited - is one of the fastest growing IT companies in the UK with offices in Ahmedabad, India and London - United Kingdom. We are in the fields of Web site designing, Search Engine Optimization and IT consultancy.

We are looking for Candidates that is self motivated, organized, and detail-oriented for Ahmedabad office.

Syndicate content