Archive

Archive for June, 2009

Search..or Bing ? | Microsoft’s Search Engine Review

June 19th, 2009

Finally “Bing” beta is out !!! or is it really !!! Microsoft has been trying to capture the intenet market for quiet some time. In the begining with the MSN search and then with live search, and now with Bing.

There are scores of other internet search websites and portals, including Yahoo Search, ASK and other included, but none of them have been very successful in capturing the average internet user’s imagination. Everyone knows that the key to a great search is to get the results using the least possible keywords, and in the least possible time too. Who cares how many results we get when we try to search for Brad Pitt or Angelina Jolie? We want the first result to be the link to what we are searching for.

AdAge reports that 42 percent of all searches need to be refined after the first query. Furthermore, it has been found that 25 percent of all post-search clicks hit the back button instead of a Website link when looking at the search results page.The inability to find what you want on the first try may be where Bing has an edge…or at least, that is what Microsoft believes it will.

One of the prominent “blings” that Bing boasts about is the “related categories” feature. Well you might say that “other popular” search providers have it too. What is so great about Bing? Well I had the same question, so I did some searching of my own, using Bing of course.

A Simple search for the word Microsoft reveals the Microsoft is trying to see the obvious that others are catching up and they need to do so too.

Your browser may not support display of this image.Your browser may not support display of this image.

However searching for the word “Apple” gives us MTV Roadies battle Ground as the sponsored result. And Apple, like the fruit turns up sixth in the related searches. What exactly is the user trying to search for is what bing needs to look at.

One of the best things about Google is that one can find links to all of Google’s most used services right from Google’s home page. One-click access to Gmail, YouTube, and Orkut from Google.com is a great feature, and shows that Google knows how integrated all aspects of your digital life are. Yahoo is also a fan of one-click access to other Yahoo services, but have you ever tried to find a link to Hotmail on Live Search? You can’t, because the link to Hotmail doesn’t exist.  
 
 

If Microsoft wants searches to come its way and away from Google and Yahoo, Bing needs to integrate with other Microsoft services like Hotmail and MSN Messenger to name a few and not just the ones directly related to search. For example, Microsoft offers 25GB of free online photo storage. Without a Hotmail account you wouldn’t know about it, because there is no link to it on Microsoft’s two primary portals: MSN and Live Search. Microsoft needs to see that it’s not enough if you have the power, you need to let others know about it. People should see that you have it and they can use it, that’s when you can make some money out of it.

MSN Search first launched in the fall of 1998 and used search results from Inktomi. In early 1999, MSN Search launched a version which displayed listings from Looksmart blended with results from Inktomi except for a short time in 1999 when results from AltaVista were used instead. Since then Microsoft upgraded MSN Search to provide its own Microsoft-built search engine results (list of web addresses with samples of content that meet a user’s query), the index of which is updated weekly or even daily. The upgrade started as a beta program in November 2004 (based on several years of research), and came out of beta in February 2005. Image search was powered by a third party, Picsearch. The service also started providing its search results to other search engine portals in an effort to better compete in the market.

The first public beta of Windows Live Search was unveiled on March 8, 2006, with the final release on September 11, 2006 replacing MSN Search. Windows Live Search aimed to make its over 2.5 billion worldwide queries each month “more useful by providing consumers with improved access to information and more precise answers to their questions.” The new search engine offered users the ability to search for specific types of information using search tabs that include Web, news, images, music, desktop, local, and Microsoft Encarta.

In the roll-over from MSN Search to Windows Live Search, Microsoft stopped using Picsearch as their image search provider and started performing their own image search, powered by their own internal image search algorithms.

On March 21, 2007, it was announced that Microsoft would separate its search developments from the Windows Live services family, rebranding the service to Live Search.And now Bing is out.

That makes Bing the third rebranding in five years, and the fourth, overall, for Microsoft’s search service. Instead of focusing on constant renaming, hopefully, Microsoft has found its final search brand name in Bing.

No matter what Microsoft has planned for Bing, it will be judged against the search’s gold standard: Google.

So what do you think? Will you be Binging or is the Microsoft’s search effort bound to fail?

Reviews , , , , , ,

My introduction to SMF | Service Management Facility on Solaris 10

June 5th, 2009

This is my attempt to put down in writing on my initial stints with something crazy that I found on the cool operating system on the planet, Solaris 10.

Solaris-10 introduces new SMF (Service Management Facility) to manage the daemons or services on Unix providing an alternative to the old and traditional SVR4 rc/init scripts. There are several advantages included and the approach to managing the services with SMF has changed quiet a significant, that a service will auto start itself incase the service goes down, providing a self-healing mechanism and a better sleep to system administrators :-)

SMF, by the way, kind of inspiration from the best of Windows services, has introduced the dependencies to the services on Unix. A service can be defined to be  dependent on another service, such that it would not start unless the other service is running, making sure the dependency map is satisfied.

Morever, another good point about SMF is that it decreases the overall boot time of a operating system by parallelizing the startup of the services. In the traditional startup SVR4 style init scripts where there are run sequentially, the SMF intelligently manages dependency map of the services and attempts to get the services online parallelly starting with the basic services like multiuser environment and filesystem. So, parallel startup improves the overall system boot time.

Unlike the system runlevels in SVR4/traditional Unix/Linux, SMF introduces milestones. Example milestones are single-user milestone, devices milestone, network milestone, multiuser milestone and there can be more milestones defined too. Interestingly, a milestone can be dependent milestone on another milestone. SMF is unique with more features like configuration repository, like you can revert to the old service state if any of the new changes to a service are not working, from the snapshots of service configuration repository.

SMF has extensive logging, so debugging a troublesome service is made easy with service specific logs generally stored under /var/svc/log directory.

This is just a start of my notes on the interesting technology of SMF, but I will add more as and when I get a chance to, in the coming series of articles and update the links here. Please bookmark! :-)

Solaris , , , , , , , , , , ,

BSOD | Blue screen error of death | windbg troubleshooting

June 5th, 2009

Blue screen of Death signifies a state where the Windows operating system cannot proceed further and will need the system to be shutdown, because of either a serious hardware conflicts or system errors.

When you look at the blue screen error, it is typical that there are some strange error codes and descriptions specific to the problem. Also known as a Stop error, Blue screen error or casually BSOD. These errors are common due to hardware IRQ conflicts, faulty device drivers, or faulty memory access. If the error has occurred for the first time on your machine, it could be just because of an addition of new hardware. Removing any newly installed device drivers or sometimes just restarting the system will get through the BSOD, but if the issue is occurring repeatedly then there is something more cooking than what a general reboot normally gives a solution.

I have had my turns and heads with Windows BSOD and with some searching here and there on the internet, I figured out that there are better ways to resolve the BSOD permanently. One of them is the ‘windbg’ tool, this has proven quiet handy for me personally and I recommend this tool to be very best in the field.

If you are a serious guy on Windows, and you have encountered BSOD, it is important to understand what is behind the screen causing everything to be just blue with some weird meaning white characters all over.

Whenever a blue screen occurs on your machine, System generates a file named MEMORY.DMP under the directory of C:\WINNT ( this is the default path and you change the location at My Computer -> Properties -> Advanced -> Settings tab in Startup and Recovery column ). The files with extension .DMP are not readable in nomal text editors, they are binary in format. Microsoft generously provided a tool called ‘windbg’, for evaluating these memory dump files and provide the crucial information and hinting reasons for causing the BSOD ( Blue Screen Of Death ).

Enough of the talk, now let us quickly proceed to see how to make use of Windbg tool.

How to use windbg tool: 

  • Install windbg on your machine. You can download windbg from here
  • This is a small executable and installs in just a few quick seconds.
  • Run windbg from Start -> Programs -> Debugging Tools for Windows. This opens a window with a blank screen.
  • Now select File -> Source file and point to the memory.dmp file on your machine. Generally, located under %WINNT% directory.
  • Note: windbg can work on memory dump files created on any hardware certified by microsoft under HAL. This is usually the case that when a machine is not able to boot, the hard disk can be plugged onto another Windows machine and windbg tool can still operate on the .dmp files that are generated on other Windows machines.
  • Once windbg is pointed to the dump file, you can see a textpad frame containing a number of hexadecimal numbers and errors.
  • Don’t worry, this is although cryptic, we do not have to decipher it and do not play with them :-), this is the business of windbg :-)
  • Find out the section with a header ‘Bugcheck Analysis” under which you find below similar lines: 

Example:

-----------------------
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************
PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except,
it must be protected by a Probe.  Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: eaed4304, memory referenced.
Arg2: 00000000, value 0 = read operation, 1 = write operation.
Arg3: bf89ba6c, If non-zero, the instruction address which referenced the bad memory
      address.
Arg4: 00000001, (reserved)
-----------------------
  • In most cases, the above information will yield the exact reasons explaining the root cause for the BSOD errors. In the above case the error was caused due to accessing of a faulty or non-paged system memory (pointing fingers at your application accessing other application data! ).

7. If your are not able to understand the cause from the above section, you have hyperlink “!analyze -v” present on the same page. Click the hyperlink and you will some technical error codes representing the error caused. The “!analyze -v” tool for the above error has resulted me the following error codes: 

-----------------------
READ_ADDRESS: unable to get nt!MmSpecialPoolStart
unable to get nt!MmSpecialPoolEnd
unable to get MmPageSize (0x0) - probably bad symbols
eaed4304
FAULTING_IP:
+ffffffffbf89ba6c
GetContextState failed, 0x80070026
GetContextState failed, 0x80070026
GetContextState failed, 0x80070026
GetContextState failed, 0x80070026
bf89ba6c ??              ???
MM_INTERNAL_CODE:  1
DEFAULT_BUCKET_ID:  DRIVER_FAULT
BUGCHECK_STR:  0x50
STACK_TEXT:
GetContextState failed, 0x80070026
Unable to get current machine context, Win32 error 0n38
 
STACK_COMMAND:  kb
SYMBOL_NAME:  ANALYSIS_INCONCLUSIVE
FOLLOWUP_NAME:  MachineOwner
MODULE_NAME: Unknown_Module
IMAGE_NAME:  Unknown_Image
DEBUG_FLR_IMAGE_TIMESTAMP:  0
BUCKET_ID:  CORRUPT_MODULELIST
Followup: MachineOwner
-----------------------

The error code in bold “DEFAULT_BUCKET_ID” is what you have to look at here. In this case it is “DRIVER_FAULT”, meaning it was a driver conflict or error which has caused the BSOD. You can now proceed with further troubleshooting like finding out if there were any recent hardware/driver changes made to the systems and so on. 

Few Tips: 

  • There could be situations where the bsod doesn’t even allow you to start your operating system, then just try removing any newly installed hardware components on your machine will work most of the times. If not, then look for where exactly the BSOD is being displayed, is it when the windows is starting? Then try logging into Safe mode/Command prompt (by pressing F8 key at the boot menu) and get the dump files copied to another machine and then troubleshoot the issue. 
  • If it is a memory related error, then try swapping the memory modules between their slots. 
  • If it is because of bad blocks on the harddisk, boot the machine from the bootable disk and use the ‘chkdsk’ utility with /P option to fix the bad blocks on your hard disk. 

Useful links:

What is a BSOD?

Windows , , , , , , , , , , , , , , , ,