Showing posts with label Hardware. Show all posts
Showing posts with label Hardware. Show all posts

Disk Usage reaching 100% disable superfetch in Windows PC

In some occasions when running Windows on Laptops and similar kind of machines with a less specification, we could sometime notice Disk Usage is reaching to 100%. 


This could be happened due to many reasons. But, in here we discuss about Superfetch service. This particular Superfetch service is a Windows feature that enables Preloading most frequently used Windows Applications. Even if the, original purpose of this is to boost loading speed, the Background process running in Windows could certainly cause high resource utilization, due to which HDD (Hard Disk Drive) usage would reach up to 100%. 


We can temporarily mute (disable) the Service, for this a System Restart is although imminent. 

1. Go to Start ⊞ Win

2. Type CMD.

3. Right Click on CMD Icon on Start Menu.

4. Open Command Prompt like 'Run as Administrator'.

5. Type Below Command.

sc stop “SysMain” & sc config “SysMain” start=disabled

6. Reboot Computer.


Now, you may be able to see if it actually do the trick and cause a drastic change in Hard Disk Utilization. If it doesn't provide any solution and you would need the Superfecth for faster application loading, use below command. 


1. Go to Start ⊞ Win

2. Type CMD.

3. Right Click on CMD Icon on Start Menu.

4. Open Command Prompt like 'Run as Administrator'.

5. Type Below Command.

sc config “SysMain” start=auto & sc start “SysMain”

6. Reboot Computer.


Signing Off ~ Peace!!

Hibernate in Ubuntu 12.04+ Versions ?

If you've just updated your Ubuntu Linux Version you might have already noticed that the Hibernate option of the System Menu isn't available. Sometimes, you may wonder whether the installation didn't perform 100% or you deleted some of the important system functionality mistakenly. But, it's not. 

Ubuntu 12.04 doesn't include Hibernate Option by it's own configuration.  So, why is such a vital function removed from Ubuntu Anyway. I'd like to mention my own experiences and important facts that I could learn during the 'Hunt for Hibernate'.


First, what is Hibernate ? Hibernate is a quick shutting down method for Computer Systems provided by the respective operation system of the very Computer system that it resides. 

What Happens in Hibernate ? Unlike regular Shutdown, Hibernate happens faster & stores the current system state & program states within  a very short range of time & finally the copy of all above are kept stored in the Hard Drive until the reboot.

Reason to remove Hibernate is that it led to massive system errors for the Linux users during all of previous versions of the Operating Systems. If you use Wi-Fi for the most part you might have  experienced that after Hibernate the Wi-Fi card malfunctions for the most part. Most importantly, Hibernate didn't actually, saved the system state as it's supposed to be.

So, to avoid users using this option Ubuntu Linux Distribution 12.04 doesn't include the Hibernate Option in System Menu yet it includes in the Linux Kernel.

To make sure your system performs Hibernate. Press Ctrl+Alt+T to get Terminal & Type & Run the following Command.

$sudo pm-hibernate

 Restart, your Computer & Check whether Programs are restored. If not, then there may be a problem with Swap Partition of Your System. Swap is nothing new to Linux User. During the Linux installation, It's advised  to leave Swap Partition Space of Twice as the Actual RAM.

To Check whether it's properly partitioned. Launch System Monitor Utility. It's installed in Ubuntu in default. If it's not available Launch Software Center and Download it.




Then, Check it like shown in the Resources Tab.




If Swap Partition Space is less than the Twice the Size of RAM. You'll need to Change them. Use GParted from Live CD & Change it.

Finally, Understand that Using Hibernate in Terminal sometimes is less easier compared to the Use of Hibernate in System Menu.

So, To get the Hibernate Option on to the System Menu, Follow the instructions Below.

1. Press Ctrl+Alt+T & Launch Terminal.

2. Type Following Commands.

$ cd /etc/polkit-1/localauthority/50-local.d/

$sudo vi com.ubuntu.enable-hibernate.pkla

3. Write the following Code inside the File.

[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

4. Save & Close Vi Editor.

5. Logout & Login. Check whether Hibernate is there in the System Menu.


Thank You!

32 bit or 64 bit ?

If you're attempting to upgrade your existing system, you might have dealt with this problem lately, which is to select one from either 32 bit or 64 bit.


In fact, I had to do the same research like others & decided to note down my personal experience on this.

But, you've to remember that, 32 bit & 64 bit that you might have referred until now, should be either one of ;

  1. Processor Technology or
  2. Application Technology.

Processor Technology - 64 bit Processor Technology refers to the Processors which use 64 bit long Memory addresses , Integer Size and Data Path widths.

Sometimes, your Processor might be 64 bit or 32 bit. To know that, if you're Linux user Use your terminal & Type the following command.

$ grep flags /proc/c

The output will surely be messy. So, for the knowledge if your processor is 64 bit Then, you'll see an output similar to this.

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

You'll notice that in your output, you find a 'lm constant_tsc'.  Do you ? Then, your processor is 64 bit  and if not, it might be 32 bit. 


And if you use windows, Go to your Start Menu & type, 'Performance Information and Tools'.




Then, you'll find that, the 'View and print detailed performance and system information' link. Click on it. Under the categories find, '64-bit Capable'. If it says Yes, your processor might be 64 bit.



Basically, 64 bit Processor;

  1. Theoretically, Supports RAM to Maximum Level of 16 EB (Exabyte) . Approximately, 17.1 Billion Gigabyte.
  2. Supports 32 bit Applications. (Still Limited Number) and 64 bit applications.
  3. Application Support is still in an emerging state.
  4. Faster - RAM keeps more Memory.
  5. Supports High Quality Graphics Applications.
And, 32 bit Processor ;
  1. Only Supports for limited amount of memory which is around 3.25 GB. Memory beyond that limit will ultimately, be erased from RAM to HDD. (Processor Address Extension (PAE) is an improvement)
  2. Only supports 32 bit Applications.
  3. Application Support is higher.
  4. Slow - Interaction between HDD & RAM due to Memory Limitation makes it slower.
  5. Graphic Quality is less than 64 bit.


Application Technology - 64 bit in terms of Applications can be defined as applications that handles large amount of memory in RAM. In Simple Terms, 64 bit Applications are designed to run on 64 bit Processors & Vice-Versa.

According to PC Magazine  for the month of July, 2010 the percentage of 32 bit version Windows 7 is around 54% , Compared to the 64 bit Version of the same OS. But, the gap was somewhat, larger in previous version of Windows OS s.

For example, In Windows Vista the Percentages were approximately, 89 % to 11% of 32 bit Users.

So, when the demand goes up, the supply chain of modern applications that use, 64 bit technology is in its ascendancy.

If you use Linux, to know your  Kernal of OS is either 64 bit or 32 bit, Take out your terminal & type following Command.

~$ uname -a

If you see an output that shows x86_64 GNU/Linux it indicates that you have a 64bit Linux kernel running. If you use see i386/i486/i586/i686 it is a 32 bit kernel.

In windows, Go to Control Panel > System and Security > System   and look for System Type.

So, that's enough I guess. You can search Google & even Youtube contains some videos on this.

Enjoy your day !