2010년 5월 20일 목요일

윈도우 블루 스크린 (2) - Windbg

블루 스크린의 원인 분석 시, 마이크로소프트사에서 제공하는 Windbg에 대한 소개 글입니다.

Windbg는 원래 Windows NT 때부터 블루 스크린 문제나 장치 드라이버 문제의 원인을 파악하기 위한 목적으로 마이크로소프트에서 제공하던 툴인데, Windows 2000, Windows XP, Vista, Windows 7까지 계속 이어져 오고 있습니다. Windbg에 대한 정보 및 필요한 도구들을 다운로드 받기 위해서는  "Debugging Tools for Windows"라는 마이크로소프트 사이트를 방문하십시오. 그리고 여기서 블루 스크린이 발생한 Windows 버전의 SymbolDebugging tool을 다운로드 받아서 설치합니다. Debugging tool을 설치하면 Windbg 프로그램이 설치됩니다.

blu2_0 
또한 블루 스크린이 발생하면 자동으로 시스템 재시작이 되어 버립니다. [시스템 등록 정보]의 [시작 및 복구]-[설정]에서 '자동으로 다시 시작' 옵션을 끄(Off) 주십시오. 또한 블루 스크린 발생 시 %Windir%\Minidump에 .dmp 파일이 생겼는지도 확인하십시오.
문제가 발생한 시스템에 Symbol과 Debugging tool을 설치하는 방법도 있으나, 미리 설치된 시스템으로 .dmp 파일을 가져와서 디버깅 작업을 하는 것도 가능합니다.
이제 Windbg 프로그램에서 Symbol 파일을 사용하여 Dump(.dmp) 파일을 불러오는 과정입니다.
1. 먼저 아래 그림과 같이 Symbol 파일을 사용할 수 있도록 설정합니다. [File] - [Symbol file path]를 선택한 후 다운받아 설치된 Symbol파일의 경로를 설정합니다. 기본 경로는 C:\Windows\Symbols입니다.
blu2_1

2. 다음으로 Dump 파일을 불러옵니다. [File] - [Open Crash Dump]를 선택하여 C:\windows\minidump\*.Dmp파일을 선택합니다.
blu2_2

3. 그리고 불러온 dmp파일을 분석할 수 있도록 !analyze -v 항목을 클릭합니다.
blu2_3
4. 분석된 항목에 대한 IMAGE_NAME 항목을 확인해 보면, 블루 스크린의 원인이 된 드라이버 파일을 확인할 수 있습니다.
Debugging tool 설치 및 사용 방법에 대한 좀 더 자세한 내용은 "Debugging Tools and Symbols: Getting Started"을 참조하십시오.

Vista에서 [이전 버전 복원(Previous Versions)] 기능 활성화 하기

파일이나 폴더에 대한 "이전 버전 복원(Previous Versions)" 기능은 Vista에서부터 새롭게 추가된 기능 중 한 가지이다. 하지만 이 기능은 Home 계열 버전의 Vista에서는 제공되지 않았고, Business나 Ultimate(Enterprise) 버전에서만 제공되었다.

 

하지만, 실제는 Home 계열 버전의 Vista에서도 이 "이전 버전 복원" 기능이 내장되어 있으며, 사용자가 이 기능을 사용할 수 있는 인터페이스만 제공되지 않을 뿐이다.

 

Home 계열의 Vista에서 "이전 버전 복원"을 사용할 수 있게 사용자 인터페이스를 제공해 주는 프로그램이 shadowexplorer.com에서 만든 ShadowExplorer라는 프로그램이다.

 

ShadowExplorer 다운로드

 

 

다음은 ShadowExplorer를 사용하는 방법이다.

 

1.프로그램을 설치하고, 'ShadowExplorer' 단축아이콘을 관리자 권한으로 실행한다.

image1

 

2.첫 화면에는 아래 그림과 같이 날짜별/시간별 섀도우 복사본들의 list가 나타난다. 이 중에서 문제가 삭제가 일어나기 전의 마지막 섀도우 복사본을 선택한다.

image2

3.ShadowExplorer의 왼쪽 창에서 C:\를 클릭하고, 다음으로 사용자(Users) 폴더를 클릭한다. '사용자(Users) 폴더'를 클릭하는 이유는 대부분의 사용자 파일들이 사용자 계정 폴더 아래에 저장되기 때문이다.

image3

 

 

4.이전 버전으로 복원하고자 하는 파일이나 폴더를 선택한 후, EXPORT 메뉴를 실행한다.

image4

 

5.다음, 아래 그림과 같이 복원 대상 파일이 저장될 폴더를 지정한다.

image5

 

 

    

2010년 5월 19일 수요일

손상된 User Profile 수정 방법

윈도우 부팅 시, 사용자 프로파일(User Profile)이 손상되었다는 메시지가 발생 시 수정 방법입니다. 새로운 사용자 계정을 만들고, 기존 사용자 계정의 프로파일(Profile)과 관련된 파일들을 새로 만든 사용자 계정으로 복사하는 과정이 필요합니다.

1. [제어판]-[사용자 계정]- [다른 계정 관리]를 실행합니다.

2.  새로운 사용자 이름을 부여하여 새로운 사용자 계정을 만듭니다.

3. 동일한 방법으로 또 다른 사용자 계정을 하나 더 만듭니다.

   하나 더 만든 계정은 임시로 사용할 계정입니다.

4. 이제 2번째 만든 임시 계정으로 로그온 합니다.

5. 탐색기의 [폴더 옵션]에서 다음 2가지 옵션을 변경합니다.

  - 숨김 파일, 폴더 및 드라이브 표시: 활성화

  - 보호된 운영 체제 파일 숨기기: 비활성화

6. 탐색기에서 C:\Users\[이전 사용자] 폴더를 엽니다.

7. 다음 3개의 파일을 제외한 전부를 선택합니다.

  - Ntuser.dat

  - Ntuser.dat.log

  - Ntuser.ini

8. 선택한 파일 및 폴더를 C:\Users\[새 사용자] 폴더로 복사합니다.

9. 로그 오프 후, 새로운 사용자로 로그온 합니다.

10. [이전 사용자 계정]이나 [임시 사용자 계정]은 삭제해도 됩니다.

참조

[문자표] 키보드에는 없는 문자 입력 시 사용

키보드에는 없는 문자를 입력해야 하는 경우, [문자표] 프로그램을 이용합니다.

 

[문자표]를 실행하려면 다음 그림과 같이 검색 박스에서 "문자표"라고 입력합니다.

 

실제 [문자표] 프로그램의 실행 파일 경로는 다음과 같습니다.

%windir%\system32\charmap.exe

 

영문 Windows에서는 검색 박스에서 "char"까지만 입력한 후, "Character Map"을 선택하면 됩니다.

바탕화면 가젯 – Windows 가이드 달력

Windows 가이드 달력

Windows
가이드 달력

다운로드

 

MSDN Widget Generator

Click to browse MSDN Widget Generator

Install Ubuntu Netbook Edition with Wubi Installer - How-To Geek

Install Ubuntu Netbook Edition with Wubi Installer - How-To Geek

Install Ubuntu Netbook Edition with Wubi Installer
Ubuntu is one of the most popular versions of Linux, and their Netbook Remix edition is especially attractive for netbook owners. Here we’ll look at how you can easily try out Ubuntu on your netbook without a CD/DVD drive.
Netbooks, along with the growing number of thin, full powered laptops, lack a CD/DVD drive. Installing software isn’t much of a problem since most programs, whether free or for-pay, are available for download. Operating systems, however, are usually installed from a disk. You can easily install Windows 7 from a flash drive with our tutorial, but installing Ubuntu from a USB flash drive is more complicated. However, using Wubi, a Windows installer for Ubuntu, you can easily install it directly on your netbook and even uninstall it with only a few clicks.

Conclusion
Ubuntu Netbook Remix offers an attractive Linux interface for netbooks. We enjoyed trying it out, and found it much more user-friendly than most Linux distros. And with the Wubi installer, you can install it risk-free and try it out on your netbook. Or, if you’d like to try out another alternate netbook operating system, check out our article on Jolicloud, another new OS for netbooks.

Links
Download Wubi Installer for Windows
Download Ubuntu Netbook Edition

2010년 5월 18일 화요일

Win7/Vista의 setup log 파일들 저장 위치

Windows 7 및 Vista의 setup log 파일들 저장 위치입니다.

Downlevel phase

The downlevel phase is the Windows setup phase that is run within the previous operating system. The following table lists important log files in this setup phase.

Windows Preinstallation Environment phase

The Windows Preinstallation Environment (Windows PE or WinPE) phase is the Windows setup phase that occurs after the restart at the end of the downlevel phase, or when you start the computer by using the Windows installation media. The following table lists important log files in this setup phase.

Collapse this tableExpand this table

Note You may also see a log file in the X:\WINDOWS directory. The Setupact.log file in this directory contains information about the progress of the initial options that are selected on the Windows installation screen. The Windows installation screen appears when you start the computer by using the Windows installation media. After you click Install now from the Windows installation screen, the Setup.exe file starts, and this log file is no longer used.

Online configuration phase

The online configuration phase (the first boot phase) starts when you receive the following message:

Please wait a moment while Windows prepares to start for the first time.

During this phase, basic hardware support is installed. If this is an upgrade installation, data and programs are also migrated. The following table lists important log files in this setup phase.

Windows Welcome phase

The Windows Welcome phase includes the following options and events:
  • It provides the options to create user accounts.
  • It provides the option to specify a name for the computer.
  • The Windows System Assessment Tool (Winsat.exe) finishes performance testing to determine the Windows Experience Index rating.
The Windows Welcome phase is the final setup phase before a user logs in. The following table lists important log files in this setup phase.

Rollback phase

If a Windows upgrade installation fails, and you have successfully rolled back the installation to the previous operating system desktop, there are several log files that you can use for troubleshooting. The following table lists important log files in this phase.

[관련 문서: http://support.microsoft.com/kb/927521/en-us ]

동영상, 더 이상 찾아 다니지 말자! - Microsoft Showcase

Microsoft Showcase는 Microsoft에서 제작된 동영상을 한 곳에서 볼 수 있도록 제작되었습니다. 빠른 선택에서 최신 동영상을 살펴보거나, 검색 또는 동영상 카테고리에서 원하는 영상을 찾으실 수 있습니다. 동영상 감상 후에는 평점을 주실 수 있습니다. 동영상이 맘에 드실 경우 해당 동영상을 친구 또는 동료에게 공유하거나 관리하시는 블로그에 링크를 걸어두십시오.

Microsoft Silverlight 필요 : 이 사이트에서 플레이어를 사용하시려면 Microsoft Silverlight 플러그 인을 설치해야 합니다.

 

XbjGXMz3Lw

성능 옵션(프로그램 vs 백그라운드 서비스)의 이해

‘시스템 속성 > 성능 > 설정 > 성능 옵션 > 고급 > 프로세서 사용 계획’에서 ‘프로그램’과 ‘백그라운드 서비스’ 옵션 중 하나를 아래 그림과 같이 선택할 수 있습니다.

성능옵션

많은 분들이 이 옵션에 대해서 아래와 같이 잘못 이해하고 있습니다.

{‘프로그램’은 실제 사용자가 실행하는 응용 프로그램이고 ‘백그라운드 서비스’는 ‘서비스 관리자(services.msc)’에서 실행되는 서비스를 의미한다. 그래서 설정에 의해 사용량을 할당 조정한다.}

하지만 이는 잘못된 해석입니다. 또한 다이얼로그 창의 표시 문구도 충분히 오해를 불러올 수 있을 것 같습니다. 

이 옵션을 이해하기 위해서는 먼저 스레드(Thread)와 컨텍스트 스위치(Context Switch) 두 가지 개념을 이해해야 합니다.


프로그램이란 것은 실행 파일이 프로세스(Process)로 만들어 진 후 스레드(Thread)에서 명령이 실행되는 구조입니다. 그리고 스레드는 명령어가 CPU를 사용하여 실행되는 단위로 정의 할 수 있습니다.

컴퓨터를 사용할 때 네트워크 처리, HDD 처리, 커널 작업, 응용프로그램 처리 등등 너무나도 많은 작업들이 동시 다발적으로 이뤄지고 있습니다. 다른 예로, 사용자가 인터넷에서 파일을 다운로드 하면서 Word와 WMP를 함께 사용하는 경우도 생각해 볼 수 있습니다. 이러한 것들은 모두 스레드 단위로 작업이 이뤄지며 작업에 따라 스레드 처리 시간이 길수도 짧을 수도 있습니다.

일상 생활에서도 금방 끝나는 일이 있고 오래 걸리는 일들이 있듯이 스레드도 처리 하는데 시간이 긴 작업과 짧은 작업들이 섞여 있는데, 만약 아래 그림처럼 CPU에서 하나의 스레드가 끝날 때까지 다른 스레드들은 기다려야 한다면, 스레드 A가 끝날 때 까지는 스레드 B, C는 기다리고만 있어야 합니다.

성능옵션2

 

좀더 효율적으로 동시 작업이 가능 하도록 하나의 스레드가 시작해서 끝날 때까지 무작정 CPU를 사용하는 것이 아니고, 아래 그림처럼 스레드의 실행 시간을 짧은 시간 단위로 잘라낸 뒤 순서대로 세워 놓고 실행하다가, 자신에게 할당된 시간이 끝나면 하던 일을 멈추고 다음 스레드에게 CPU를 사용할 수 있도록 한 뒤 다시 자기 차례가 돌아오면 자신의 일을 다시 시작하게 됩니다. 스레드가 CPU를 얼마 동안 사용할지를 정의한 시간 단위를 바로 퀀텀(Quantum)이라고 합니다. 그러면 스레드 B는 다음 순번에서 바로 작업을 끝낼 수 있습니다.

성능옵션3

 

이 퀀텀을 사용자가 길게도 혹은 짧게도 설정 할 수 있는데 이것이 바로 ‘프로세스 사용 계획 옵션’입니다. ‘프로그램’으로 설정하면 모든 스레드의 퀀텀을 짧게(6, 대략 2 Click) 설정하고, 반대로 ‘백그라운드 서비스’로 설정하면 길게(36, 대략 12 Click) 설정합니다.

2가지의 차이와 장단 점을 이해하려면, Context Switch를 먼저 이해해야 합니다.

성능옵션4

 

위 그림과 같이 퀀텀에 정의된 시간이 끝나 CPU를 떠나야 하는 스레드 A는 CPU를 떠나기 전에 자신이 어디까지 작업을 했는지를 저장한다. 그래야 다음 차례에 다시 A가 실행될 때 앞에서 마지막으로 진행했던 부분부터 다시 시작 할 수 있기 때문이다. 또한 B는 자신이 앞에서 실행 했던 부분부터 다시 시작 하기 위해 앞에서 저장했던 실행정보를 불러오는데, 바로 이런 일련의 작업을 컨텍스트 스위치(Context Switch)라 합니다.

 

이 Context Switch 자체는 미약하지만 전체적으로 보면 성능에 영향을 줄 수 있는 작업입니다. 그래서 만약 다른 작업은 거의 없고 CPU에서 스레드를 처리하는데 긴 시간이 필요한 단일 응용프로그램(SQL Server 혹은 그래픽 랜더링 작업 같은)만 실행하는 환경이라면, ‘백그라운드 서비스’로 설정해 Context Swith를 최소화하고 해당 프로그램의 스레드가 긴 시간 CPU를 사용 할 수 있도록 하는 것이 효과적입니다.

반대로 일반 사용자의 컴퓨터 사용 패턴은 아주 소소한 아이콘 클릭 같은 작업을 포함해 IE같은 웹 브라우저 사용과 함께 음악을 듣는 것과 같이 동시에 여러 프로그램을 실행하는 패턴을 보이는데, 이런 경우 스레드에 긴 시간을 주면 스레드가 끝나기를 기다리는 시간이 오래 걸리기 때문에 다른 작업으로 넘어가는데 시간이 걸려 반응속도를 늦출 수 있다. 따라서 일정한 시간 내에 여러 스레드들이 실행 될 수 있도록 잦은 Context Switch 시간의 부하를 감수하더라도 퀀텀을 작게 설정하여, 사용자 측면에서 반응속도를 높일 수 있습니다.

그래서 두 옵션은 아래와 같이 정의 할 수 있습니다

프로그램: 여러 작업을 동시에 수행하는 일반 사용자 환경에서 반응 속도를 높여준다.
백그라운드 서비스: 계속해서 한가지 작업을 하는 응용프로그램을 실행 하는 경우, 처리 효율을 높인다.

Windows 탐색기 실행 시, 처음 열리는 폴더 위치 변경

윈도우7에서 [Windows 탐색기] 실행 시, 처음 열리는 폴더는 아래 그림과 같이 [라이브러리] 폴더입니다.

WE03

다음은 [라이브러리] 폴더를 다른 폴더로 변경하는 방법입니다.

1. 태스크바(Task Bar)에서 “Windows 탐색기” 아이콘을 마우스 오른쪽 버튼으로 클릭한 후, 메뉴에 나타난 “Windows 탐색기” 아이콘을 다시 마우스 오른쪽 버튼으로 클릭하면, [속성] 메뉴가 나타납니다. [속성] 메뉴를 마우스로 클릭합니다.

WE01

2. 아래 그림에서 [바로 가기] 탭의 [대상] 폴더의 경로에 따라 열리는 폴더가 달라집니다.

WE02

3. 만약 [문서] 폴더로 변경하려면, [대상] 폴더를 다음과 같이 지정합니다.

%SystemRoot%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}

4. 만약 [내 컴퓨터] 폴더로 변경하려면, [대상] 폴더를 다음과 같이 지정합니다.

%SystemRoot%\explorer.exe /E,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

5. 만약 [휴지통] 폴더로 변경하려면, [대상] 폴더를 다음과 같이 지정합니다.

%SystemRoot%\explorer.exe /E,::{645FF040-5081-101B-9F08-00AA002F954E}

6. 만약 [C:\] 폴더로 변경하려면, [대상] 폴더를 다음과 같이 지정합니다.

%SystemRoot%\explorer.exe C:

[참고] 다음은 기타 폴더 정보를 GUID로 가진 항목들의 리스트입니다.

기본 위치 입력: {00C6D95F-329C-409a-81D7-C46C66EA7F33}
생체 지문 인식: {0142e4d0-fb7a-11dc-ba4a-000ffe7ab428}
전원 관리: {025A5937-A6BE-4686-A844-36FE4BEC8B6D}
작업표시줄 아이콘 및 알림 설정: {05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
자동 로그온을 위한 자격 증명 저장: {1206F5F1-0569-412C-8FEC-3204630DFB70}
네트워크에서 프로그램 설치: {15eae92e-f17a-4431-9f28-805e482dafd4}
기본 프로그램 선택: {17cd9488-1228-4b2f-88ce-4298e93e0966}
무선 네트워크 관리: {1FA9085F-25A2-489B-85D4-86326EEDCD87}
네트워크 그룹: {208D2C60-3AEA-1069-A2D7-08002B30309D}
내 컴퓨터: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
프린트 목록: {2227A280-3AEA-1069-A2DE-08002B30309D}
작업 영역의 데스크톱 및 프로그램에 연결: {241D7C96-F8BF-4F85-B01F-E2B043341A4B}
Windows 방화벽: {4026492F-2F69-46B8-B9BF-5654FC07E423}
컴퓨터의 사양 평가: {78F3955E-3B90-4184-BD14-5397C15F1EFC}

윈도우7의 메모리 관리 기술

Windows의 메모리 관리 기술을 살펴보면, 먼저 가상 메모리(Virtual Memory)부터 이야기를 해야 한다. MS-DOS 시절까지는 운영 체제가 실제 메모리를 사용하였고, 메모리 부족 시에는 프로그램이나 운영 체제에서 더 이상 추가적인 동작을 할 수 없었지만, 가상 메모리라는 개념이 나오면서, 물리적인 메모리의 부족에 대한 한계를 넘어섰다.

mem01

가상 메모리는 실제 Windows가 사용할 수 있는 메모리를 이야기하며, {물리적인 메모리 + 페이징 파일(Paging File)}이다. 만약, 실제 메모리가 512MB이고, 페이징 파일을 3.5GB를 잡으면, Windows가 사용할 수 있는 메모리는 4G가 되는 것이다. Windows는 모든 프로세스를 실제 메모리에 직접 할당하는 것이 아니라 가상 메모리에 할당하게 되며, 이는 내부적으로 실제 메모리와 페이징 파일로의 배치가 일어나게 되며, 물리적인 메모리가 모두 찼을 경우엔 페이징 파일에 배치시키는 것이다. 당연히 메모리 속도와 페이징 파일이 저장된 하드 디스크의 속도는 어마어마한 속도차이가 나므로, 메모리가 부족하면 하드 디스크를 계속 access하게 되고, 속도가 느려지는 것도 이에 기인한 결과이다. 또한 물리적인 메모리에 있었던 데이터를 필요 시 페이징 파일로 이동하고(Swapping), 다시 페이징 파일에서 메모리로 옮기는 경우도 발생한다. 이 역시 시스템의 부하로 작용하게 되고, 따라서 물리적인 메모리가 많을수록 플랫폼의 속도가 빠르게 느껴진다.

Windows XP는 PreFetch라는 메모리 관리 기술을 사용한다. Windows XP의 캐시 관리자(Cache Manager)응용 프로그램 실행 시와 운영 체제 부팅 시에 디스크와 메모리, 메모리와 가상 메모리 사이에 이동되는 데이터들을 모니터링한다. 캐시 관리자가 이러한 일들을 모니터링하면서, 각각의 응용 프로그램이나 프로세스가 사용하는 모든 디렉터리와 파일에 대해서 맵(Map) 파일을 작성하게 되며, 이 맵 파일은 \Windows\Prefetch라는 폴더에 .pf 확장자를 가지고 저장된다.

mem02 

캐시 관리자는 이러한 맵 파일을 시스템 부팅, 응용 프로그램 로딩 시에 사용하게 된다. 즉, 캐시 관리자는 응용 프로그램이나 프로세스가 실행될 때, 이를 인터셉트(Intercept)하여, \Windows\Prefetch 폴더에 해당되는 맵 파일이 있는지 확인하고, 만약 있다면 캐시 관리자는 메모리 관리자(Memory Manager)를 호출하고, 맵 파일내 정보를 이용하여 데이터와 코드를 메모리로 로딩할 것을 요청한다.

 

실제 프로세스가 데이터나 코드가 필요해졌을 경우, Windows에 의해서 미리 메모리로 로딩되어져 있어 디스크에서 읽을 필요가 없으므로, 빠른 로딩 처리 및 응답을 보여주게 된다. 그리고, 이러한 Prefetch 작업의 효율성을 위해, Windows는 주기적으로 맵 파일 내용을 분석하고, 순서에 따라 디렉터리와 파일들을 정리해 놓는다. 이러한 정보를 \Windows\PreFetch 폴더의 Layout.ini파일에 저장해 놓고, 디스크 조각 모음은 이 정보를 이용하여 해당 폴더와 파일이 연속된 공간을 차지하게 한다.

Windows Vista에서는 Superfetch라는 기술을 선보였다. Superfetch는 Prefetch에서 부족했던 몇몇 요소들을 훌륭하게 보완하여, 시스템의 응답 속도 향상에 도움을 주었다. Windows XP의 Prefetch 기술에는 몇 가지 큰 문제점이 있다. Prefetch 기술은 파일과 데이터를 응용 프로그램 요청 전에 미리 로딩해 놓는 기술이었으나, 가상 메모리는 한정된 용량을 가지고 있기 때문에, 다른 응용 프로그램이 메모리를 필요로 할 경우, Prefetch해놓은 데이터를 하드 디스크 내 페이징 파일로 이동시켜야만 한다. 이 데이터가 다시 필요하다면, 다시 페이징 파일로부터 메모리로 로딩해야 되고, 결국 성능 향상에 약점으로 이어지게 되었다.

 

Superfetch는 이를 위해 몇 가지 데이터를 더 가지고 데이터를 메모리로 로딩한다. 맵 파일에 사용자가 해당 프로그램을 얼마나 종종, 언제, 얼마 동안 사용하는지 등의 사용자의 사용 패턴을 기록한다. Superfetch는 또한 Prefetch된 데이터가 메모리에서 페이징 파일로 스와핑 되었을 경우, 이를 감지하고 페이징을 야기한 응용 프로그램이 종료되었을 때 해당 데이터를 다시 메모리로 이동시킨다. 따라서, 실제 응용 프로그램이 해당 데이터를 접근하려 했을 경우, 메모리에서 빠르게 찾을 수 있게 도와준다.

또한 Windows Vista에서는 ReadyBoost 라는 기술이 선보였다. 일정 속도 상의 읽기/쓰기 접근을 보이는 USB 장치를 연결하였을 때, 아래와 같은 메시지를 본 적이 있을 것이다.

mem03

하드 디스크의 속도가 페이징 파일의 처리를 늦게 하는 요소이므로, 페이징 파일을 속도가 빠른 USB 플래시 메모리에 담는 기술이 Windows ReadyBoost이다. Superfetch가 메모리 페이지를 하드 디스크 상의 페이징 파일로 이동시키는 것이 아니라, USB 메모리의 페이징 파일로 이동하는 것이다. Windows ReadyBoost 기술을 사용하시던 도중, USB 메모리를 제거하더라도, 이를 Windows Vista는 감지하기에 시스템의 안정성에는 전혀 영향을 주지 않는다. 또한 USB 메모리에 저장되는 데이터는 암호화가 되므로 보안에도 전혀 문제가 없다.

PC 제조사에서는 ReadyBoost를 활용해서 메모리가 적은 머신이나 성능이 낮은 머신의 경우에는 시스템의 메인 보드에 적절한 용량의 USB 메모리를 기본 탑재하여 시스템의 성능을 향상하는 것을 시도하고 있다.

 Windows 7도 여전히 Superfetch 기술을 사용하고 있으며, 개선된 Superfetch는 아래와 같다.

  • 사용자가 실제 작업을 하고 있는 경우, 시스템이 Prefetch하는 작업을 최소화하여 좀더 많은 리소스를 사용자에게 할당
  • 실제 사용자의 사용 형태를 더 잘 추적 가능하도록 최적화.
  • SSD에 최적화
  • 불필요한 파일에 대한 Prefetch을 전반적으로 줄임.
    매우 큰 파일, 쓰기 전용 파일(예를 들어 로그파일), 낮은 메모리를 가진 시스템

mem04

이제 SSD의 등장에 대해 좀 더 알아 보자. 만약 디스크의 속도가 무지무지 빠르다면? 오히려 이러한 Fetch 기술이 시스템 부팅 후에는 사용자의 사용 가능한 리소스의 일부를 차지하게 된다. 기존 하드 디스크보다 더 빠른 하드 디스크.. 즉 SSD(Solid State Drive)에 대하여, Windows 7은 SSD에 대해서도 최적화 되어져 있다. SSD 사용 시 Windows 체험 지수의 주 하드 디스크 인덱스가 6.5이상인 경우, Superfetch 서비스를 사용 중지할 것을 권장한다. Windows 7에서 SSD의 경우에는 이를 인지하여 SSD 최적화를 위해 Superfetch 서비스를 중지시킨다.

mem05 mem06

 

2010년 5월 17일 월요일

Microsoft Surface: Announcing Online Design and Development Training

The Surface team just released a 9 module set of Surface videos showing you how to design and develop for Microsoft Surface. This is the first time this content is being made available outside the training room.
image
The modules cover all the key things you'll need to know about developing for surface using WPF and XNA. It begins with an introduction to the Microsoft Surface platform and its unique attributes - including its vision (camera) based massive multi-touch input, 360° multiuser interface, and physical object recognition.  The subsequent training modules include detailed videos, how-to information, reference materials, and step-by-step hands-on labs. Topics include the Surface SDK, WPF controls, user experience guidelines, the Surface shell, simulator, hardware and more.
These nine course modules include the topics discussed in classroom training, with the benefit of greater convenience.  In addition to being a great starting point for those new to Surface development, it is also a good refresher for those with more experience.  If you have completed either form of Surface training you can return to these online modules at any time to immediately review the information you require.
While you're on the site, be sure to check the downloads section for the SDK, sample applications, the Surface User Experience guidelines and more.

Bookmark and Share

Use Facial Gestures To Control Your Windows PC With eViaCam

Ever imagined moving the mouse cursor just by moving your face and without touching the mouse? Yeah, it happens in the sci-fi movies. But, you could do it too with the help of a nifty tool known as eViacam.
eViacam is a software that can replace your mouse. It helps in moving the pointer with your facial gestures and requires a webcam to work (obviously). It is an open source software which comes free of cost and it’s fun. So lets check it out.
Download and install the 2.55 MB software on your PC. If your webcam works correctly, on opening the application you will get a window that pops up with your webcam picture.
eviacam webcam
Notice the square in the picture. This represents the face tracking function of this application. Move your face, and the square will move with your gesture.
Go to Configuration-> Options.
viacam options
In the configuration panel, you can experiment with the speed, acceleration and smoothness of the pointer (don’t go with the data shown in the screenshot, try experimenting with it to get the best results).
eviacam configuration
Go to “click” tab, select dwell time and dwell area. You can also select whether it beeps on a click or not. There is a checkbox to open click Window at startup of your computer.
eviacam configuration1
Go to advance tab and select the check boxes that say “Locate face automatically”. You can also browse for onscreen keyboard (keyboard will appear on desktop when you click on keyboard icon on the interface).
advance eviacam
Click on the “General options” to make new profile, and change the setting of your camera. To change the settings click on “Change” button.
eviacam configuration3
Select the factors by sliding the sliders. You can view the change in appearance in the camera view.
webcam properties
Now click on green button. It will enable the program and you can now move the cursor with the movement of your face. You can also move the cursor normally like you do with your hands, but don’t move your face while moving your hands as this software is very sensitive and can easily detect facial activity.
enable eviacam
You can see the bar at the top having some icons of mouse. Every icon represents a unique activity. Suppose you want to double click on any file on the desktop. First move your head (cursor will move with your action). Now take the cursor to the double click mouse icon. It will automatically get selected.
eviacam options
Now every time you move the cursor over any file it will get double clicked and the file will open. Similarly you can choose other functions.
Apart from fun, this software is also useful for handicapped people who can’t use their hands to operate their computer.
Download eViacam to control your Windows PC through facial gestures.


Bookmark and Share

How To Fix Slow Windows Startup Using Windows Boot Performance Diagnostics

Windows Vista and Windows 7 come with Windows Boot Performance Diagnostics which can be activated from group policy settings. You can set Windows to automatically troubleshoot and resolve boot problems using this native tool.
Click on Start button and type gpedit.msc in the search box. Press Enter.
fix slow windows startup group policy editor
It opens the group policy editor window. Now Under Computer configuration, go to Administrative Template –> Systems-> Troubleshooting and diagnostics-> Windows boot performance diagnostics.
speed up Windows startup
Click on Windows boot performance diagnostics. On the right,  you will find “Configure Scenario Execution level”. Right click on it and select properties.
group policy editor
“Configure scenario execution level properties” windows will open. You’ll notice that it is set to “Not configured”. Select the option “Enabled”. Now select the scenario execution level from the drop down to “Detection, Troubleshoot and Resolution”.
It means Diagnostic Policy Service (one of the services that runs in the background) will detect Windows Boot Performance problems and notify the user about the resolution if available.
If you select “Detection and troubleshoot only” then Diagnostic Policy Service will detect all the problems related to Windows Boot Performance and add an event (root causes) to the event log. Administrator of the computer can check the event log and troubleshoot the problem manually.
scenario execution level1

Note 1) For functioning of Windows Boot Performance Diagnostics, Diagnostic Policy Service (DPS) must be running in the background service. ( To check it is running or not click on “Start”, type services and press “Enter”. On services window check status of Diagnostic policy service and make sure it’s running).
If you computer keeps you waiting for the Windows logon screen, then you could try these steps and check the results. Let us know how it went for you.
Note 2) gpedit.msc feature is only present in Windows 7 Ultimate, Professional and Enterprise editions. If you own Windows 7 Home Premium or Basic editions then you might not get gpedit.msc after typing it on a search box.



Bookmark and Share

17 Useful Tips To Extend Your Laptop’s Battery Life

1. Decrease the screen brightness

More the screen brightness, more the battery consumed by your laptop. To decrease it, click on the battery icon on the system tray and select “More power options”.

extend laptop battery life power options

Power options window will open, move the screen brightness (given at the bottom) slider to left. Note that  working with less screen brightness is also good for your eyes.

screen brightness

2. Avoid using screensavers

You left your PC for sometime without any activity. Screensaver starts playing after some time. It consumes the battery so it is better to turn it off.

Right click on your desktop and select Personalize.

personalize desktop

Now on the bottom right, click on “Screen Saver”.

screen saver1

Click on Screen Saver drop down and select “None”. Click OK.

screen saver

3. Defrag from time to time

Defragmentation makes your hard drive more efficient which results in a fast hard drive and hence less battery consumption. You can defrag your hard disk using Windows inbuilt Disk defragmenter or using external tool such as Defraggler.

To use Windows Disk Defragmenter, click on “Start” button and type “Disk defragmenter” (without quotes) in the search box and press Enter key.

disk defragmenter

Disk defragmenter window will appear. Now click on “Configure schedule” to schedule the defragmentation process.

schedule defragmenter

Now select the frequency, day, time and disks from the given drop downs and press OK.

disk defragmenter schedule

4. Disable unnecessary startup applications

Some applications unnecessarily get added on the startup menu thereby increasing system’s booting time. For example programs like Adobe reader, Zune, iTunes and Google desktop search start by default and keep running in the background..

You can use Msconfig to stop unnecessary Windows programs from starting up automatically.

5. Remove external USB devices

USB devices are known to drain the battery. If any USB device ( external hard drive, pen drive, mouse), memory card, iPod or iPhone is connected and you are not using it,  then remove it.

eject external drive

6. Add more RAM

Windows comes with virtual memory feature in which it uses hard disk memory when it runs out of RAM. This feature ultimately results in usage of hard disk and load on laptop battery. To avoid this you should increase your RAM according to your requirement.

7. Avoid running CD/DVD

If you are running your laptop on battery then avoid using CD/DVD because it draws more battery power. It’s better to rip DVD and then watch it when the laptop’s on battery.

8. Sleep is good, but hibernation is better

Standby or sleep state which is also known as power saving state is a nice feature which lets you bring your computer to idle state. You can quickly resume your work anytime by pressing keys of your computer. It uses a small amount of power while its in the sleep state.

It is advisable to use hibernate mode instead of sleep because sleep consumes slight power in comparison to hibernate which consumes no power, saves all your work and resumes from where you stopped it.

Note: Your work will be lost if the battery discharges while the system is in sleep mode.

9. Optimize the power option

Power option in Windows has different settings to save battery life. To go to power option, click on battery icon in the system tray and select power option.

power option

Now click on “Change power settings”.

power option settings

Here you can decide when your computer will dim the display or when it turns off the display while it is on battery. Also you can decide the time after which it will go to the sleep state.

You can also make use of “Advanced power settings”. Click on the link given below (see the screenshot).

windows power plan

On advanced power window you will find many options to optimize your laptop for a better battery life. For example you can pause the slide show when it is running on battery.

Note: It is advisable not to play with settings if you don’t know what you are doing. It might result in unnecessary issues with your laptop.

advance power options

10. Keep the laptop at a cool place

This is a no-brainer. If the laptop’s kept in a room with low temperature, its fan will have to do less work to dissipate the heat. That’ll put less load on the battery and hence prolong its life.

11. Screen resolution

Low screen resolution consumes less battery in comparison to high screen resolution. To change the resolution right click on desktop and select “Screen resolution”. Windows Vista users can find this option under “Personalize”.

screen resolution

Now move the slider down to decrease the screen resolution. You can also choose from the drop down option.

screen resolution

12. Disable Aero feature

Aero feature is responsible for translucent glass design and attractive window colors. Turning it off saves your battery resources.  Right click on your desktop and select “Personalize”. Now click on “Window color” at the bottom.

windows color

Uncheck the box next to “Enable transparency”.

disable aero

13. Switch off Wireless

If you are not connected with any wireless network then it is better to switch off wireless. Most of the laptops have a wireless switch that let you quickly turn it off.

14. Adjust Visual Effects

Visual effects also consume battery power so it is a good idea to switch it to best performance setting. Type “adjust performance” and press “Enter”.

adjust performance

In performance options window, go to “Visual Effects” tab. Now select the option “Adjust for best performance”. It will turn off all the effects that enhance the visual performance of your PC.

visual effects windows

15. Disable search Index

It’s better idea to disable search index feature in Windows. You can use programs like Ultrasearch as its alternative.

Click on “Start” button and type indexing options in the search box. Press “Enter” key.

indexing option

Now click on Modify.

indexing option1

Here you have to uncheck all the given boxes so that Windows can’t perform extra work to index all the files at these locations.

index location windows

16. Turn off Scheduled tasks

If you have scheduled a task on your laptop to start automatically at a specific time then you have to take care that your task won’t occur at a time when your laptop is running on battery.

To see the scheduled tasks and time when they occur, click on Start button and type Task scheduler in the search box. Press Enter. It will open the task scheduler window.

17. Get your laptop’s vent cleaned

Dust causes your laptop vents to close which results in blockage of area from where the heat is released. It causes more heat and more work load on fan. To avoid it, get them cleaned at frequent intervals.

Note: Don’t try to open the screws yourself and cleaning it. Take it to the service centre and they will take better care of it.

So those were some tips that could help you extend your laptop’s battery life. Let us know what you think of them, and share other tips, that we might have missed, in the comments.

Of course we don’t recommend following each and every tip mentioned because it does involve compromising on a lot of visual and other features. So pick and choose, and follow the steps which don’t affect your work.



Bookmark and Share

이 블로그 검색

팔로어

블로그 보관함