하드웨어2012. 4. 2. 22:09
현재사용중인 녀석인데
"Secure Virtual Machine" 이라는 이름으로 가상화 설정이 BIOS에 있다.
(그래서 xen에서 AMD SVM으로 뜨는건가?)

머 노트북에서 처럼 엄청 차이나는건 아닌것 같지만.
저 설정 하나만으로 10W를 먹는다는건 꽤나 큰 차이일듯 -_-
   BIOS 부팅완료 
가상화 켬

가상화 끔



일단 Xen 커널과 Generic 커널의 전력소비는 노트북과 마찬가지로 확연히 드러나고,
가상화 켜고 끄고의 차이는 유의미하게 나타나진 않는다.
   가상화 끔 가상화 켬
Ubuntu/Xen kernel 

Ubuntu Generic kernel 


'하드웨어' 카테고리의 다른 글

G840 전력소비 측정(가상화)  (6) 2012.04.18
MXM  (0) 2012.04.11
DVD+R Double Layer(DL) 8.5GB  (0) 2012.03.29
SLC / MLC / TLC  (0) 2012.03.04
ddr2 unganged mode  (0) 2012.03.02
Posted by 구차니
Linux/Ubuntu2012. 4. 1. 16:42
세션을 Ubuntu 대신 unity나 gnome3로 하면된다.
그나저나 크롬과 충돌이 있나.. 그냥 터미널꺼 붙여 넣으면 span / div 태그로 도배되고 저장이 안되네 -_-

[링크 : http://kldp.org/node/128605]


---
2012.04.04 추가

아래의 두가지 방법중 하나를 골라서 하면된다.
$ sudo vi /etc/lightdm/lightdm.conf 

[SeatDefaults]
autologin-guest=false
autologin-user=minimonk
autologin-user-timeout=0
autologin-session=lightdm-autologin
greeter-session=unity-greeter
user-session=ubuntu-2d 

$ sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu-2d  

[링크 : http://askubuntu.com/questions/62833/how-do-i-change-the-default-session-for-when-using-auto-logins
Posted by 구차니
프로그램 사용/xen2012. 4. 1. 16:22
머.. 일단 AMD 4200+x2 에서 실행했더니 실행은 되는데 


CDROM 또는 DVD사용에서 인식을 하지 못한다.

cd 를 넣고 mount 명령으로 확인해 보니 읭?
/dev/sr0 on /media/floppy0 type iso9660 
웬 뜬금없는 floppy0 ?!?!?!?!

머 안되면 그냥 iso로 하면되지 머 쫄지마!


vmware 설정하듯 메모리 와 사용할 cpu 와 메모리 용량을 설정해주고


하드도 설정해주고


근데 왜 또 네트워크가 말썽이니 ㅠ.ㅠ


----
그나저나 무슨 차이가 있어서 안되나 궁금해서 cpuinfo를 확인해보니
amd용으로는 svm이 있다는데 그런것도 없고 hypervisor가 존재한다.
$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 107
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping    : 2
cpu MHz        : 800.000
cache size    : 512 KB






fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu de tsc msr pae cx8 apic cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 hypervisor lahf_lm cmp_legacy extapic cr8_legacy 3dnowprefetch

bogomips    : 5488.05
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps
$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 15
model        : 107
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping    : 2
cpu MHz        : 2200.000
cache size    : 512 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
bogomips    : 4389.91
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

리부팅 해서 확인해보니 intel이던 amd던 Dom0로 부팅하면 hypervisor가 뜨게 된다.

[링크: http://blog.bradiceanu.net/2009/07/20/linux-proccpuinfo-flags/]
2012/01/25 - [프로그램 사용/xen] - xen 사용가능한 cpu 확인하기 

'프로그램 사용 > xen' 카테고리의 다른 글

qemu-dm not found  (4) 2012.04.03
xen에서 cdrom 사용하기  (0) 2012.04.03
가상화는 무리인가...  (2) 2012.03.31
ubuntu 11.10 xen 커널로 부팅하도록 grub 수정하기  (0) 2012.03.31
xen on Ubuntu 11.10 with Xnote LW25  (0) 2012.03.29
Posted by 구차니
프로그램 사용/xen2012. 3. 31. 22:55
LW25 이녀석 cpu 듀얼 코어인데다가 가상화도 지원되서 쓸만할줄 알았더니...
xen으로 돌리면 열이 70도 정도까지 보고되는게 치솟고
xen이 아닌 일반 커널로 돌리면 49도 정도로 낮아진다. (11.10 기준)

xen Dom0 에서도 실제 리포팅 되는 cpu 사용량이 맞지 않는걸까..
아니면 가상화 부분이 활성화 되면서 cpu 발열이 올라가는 걸까? 

---
cpu 실 사용량을 확인하는 방법
xentop을 쓰면된다고 한다.
[링크 : http://serverfault.com/questions/334613/how-do-i-tell-real-cpu-load-in-a-xen-environment]

--- 
2012.4.1 추가

Xen 이 아닌 커널로 돌릴때 23W 정도 소비


Xen 커널로 돌릴때 33W 정도 소비

 
cpu 사용량은 둘다 동일한 0% 이지만
발열이 팍팍 오르는것과 더불이 전략소비량이 이렇게 팍팍 오르는걸 보면..
xen 자체가 부하가 많이 걸리는 느낌이다. 
Posted by 구차니
Linux/Ubuntu2012. 3. 31. 22:07
적응이고 머고 간에 일단 짜증난다 -_-
드럽게 느리고 무겁고 버벅대고 하드 많이 쓰고
기존의 애플릿이 다 구조가 변경되서 추가하는것도 힘들고 왜이렇게 바뀐겨 -_-
12.04 LTS 나올것도 두렵네 -_-


기존의 cpufreq 유틸은 못찾았고
indicator-multiload를 수동으로 추가해서 상단에 cpu 사용량등을 보고할수는 있는듯

[링크 : http://askubuntu.com/questions/30334/what-application-indicators-are-available

---
죽어라 검색해보니 아래와 같이 추가하고, 설치하면 자동으로 시작프로그램이 등록이 된다.
$ sudo add-apt-repository ppa:artfwo/ppa
You are about to add the following PPA to your system:
 PPA
 This archive contains SuperCollider packages, some packages, related to bug 217611, libvorbis with aoTuV beta5.5 patchset and test packages of various projects.
 More info: https://launchpad.net/~artfwo/+archive/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.b1vZa1epBv --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 29CB7600B6F706CEDFED21EE9ED9A781DD9300F1
gpg: requesting key DD9300F1 from hkp server keyserver.ubuntu.com
gpg: key DD9300F1: public key "Launchpad PPA for Артём Попов" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
$ sudo apt-get update
$ sudo apt-get install indicator-cpufreq

[링크 : 
http://www.webcoz.com/...cpu-frequency-indicator-for-change-monitor-cpu-speed-in-ubuntu-ppa/] 

Posted by 구차니
Linux/Ubuntu2012. 3. 31. 19:23
Xnote LW25에 설치했더니 화면밝기가 가장 어둡게 나온다 -_-
그래서 인터넷 뒤져보니 echo 0를 넣으라는데
실험적으로 넣어보니 0~8 까지 입력이 가능했다.
/etc/rc.local에서 빨간 라인을 추가하고 리부팅 하면 다음번 부터 가장 밝게 나온다.

$ sudo vi /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo 8 > /sys/class/backlight/acpi_video0/brightness 
exit 0 
 

[링크 : http://askubuntu.com/questions/3841/desktop-doesnt-remember-brightness-settings-after-a-reboot]
Posted by 구차니
개소리 왈왈2012. 3. 31. 15:22
먼가 좀 진지하게 이야기 하면
어려워 / 철학적이네 / 읭? 너 그런 생각도하고 살았어?
이런 반응들을 보이는데, 이런 행동들이 원하는 결론은
"살기도 힘든데 왜 그런 어려운걸 하냐" 가 아닐까 싶다
조금더 나아가면 "생각은 하는데 난 빼주라 머리아파" 일려나?

술자리에서 진지한 이야기하고 이러는걸 보면
왜 맨정신에서는 이런 진지한 이야기를 피하려 하게될까?
술자리에서 하는 어려운 이야기는 술먹고 맨정신이 아니라 듣게되는 걸까?

매번 진지모드에 핀잔을 먹는걸 보면서
괜시리 주저리 해보는구나...

'개소리 왈왈' 카테고리의 다른 글

질문 : 왜 사는가? 어떻게 사는가?  (0) 2012.04.20
4.19  (0) 2012.04.18
3.1절  (0) 2012.03.01
피곤하다 ㅠㅠ  (0) 2012.02.29
서울버스요금 인상  (0) 2012.02.24
Posted by 구차니
Microsoft/Windows2012. 3. 31. 12:51




/maxmem=number

이 스위치는 Windows에서 사용할 수 있는 RAM의 양을 바이트 단위로 지정합니다. 예를 들어, Windows에서 64MB 미만의 메모리를 사용하도록 하려면 /maxmem=64 스위치를 사용합니다. 

하지만 /maxmem 스위치는 메모리 손실을 고려하지 않으므로 대신 /burnmemory 스위치를 사용하는 것이 좋습니다. /burnmemory 스위치는 메모리 손실을 고려합니다. 

예를 들어, /Maxmem=64 스위치를 사용하고 있고 시스템을 로드하는 데 64MB의 메모리가 필요한 경우 메모리 손실로 인해 시스템에서 실제로 사용할 수 있는 메모리는 64MB보다 적을 수 있습니다. 이 경우 Windows가 시작되지 않습니다. 

자세한 내용은 Microsoft 기술 자료의 다음 문서를 참조하십시오.
108393  Windows NT BOOT.INI 파일의 MAXMEM 옵션

[링크 : http://support.microsoft.com/kb/833721/ko]  

Posted by 구차니
프로그램 사용/xen2012. 3. 31. 12:45
/etc/default/grub 파일의
GRUB_DEFAULT = 0 을 다른걸로 바꾸어 주면 된다는데

GRUB_DEFAULT='Example GNU/Linux distribution'
이런방식도 지원한다고 해서 xen 의 menu이름을 넣어줘도 안되고

20_linux_xen 이런식으로 되어 있어서(/etc/grub.d/)
GRUB_DEFAULT=20 해도 안되고 -_-

[링크 : http://www.gnu.org/software/grub/manual/html_node/default.html]
[링크 : http://www.gnu.org/software/grub/manual/grub.html]

미친척 그냥 2번으로 하니 문제없이 xen 커널로 부팅된다 -_-

- Edit "/etc/default/grub"
- In my case I put "GRUB_DEFAULT=2" (index of XEN kernel was two)
- update-grub
- restart 

[링크 :  http://blogs.deepal.org/2012/02/install-xen-dom0-and-domu-on-ubuntu.html]  


---
2012.4.14 추가
아래의 명령어를 실행해서 나오는 xen 커널의 순서를 입력해주면 된다.
$ grep menuentry /boot/grub/grub.cfg 

[링크 : http://wiki.debian.org/Xen]
 

'프로그램 사용 > xen' 카테고리의 다른 글

Xen (ubuntu 11.10) with AMD 4200+x2  (0) 2012.04.01
가상화는 무리인가...  (2) 2012.03.31
xen on Ubuntu 11.10 with Xnote LW25  (0) 2012.03.29
xen 관련 용어 - Dom0 / DomU  (0) 2012.03.29
xen / kvm / virtualbox 성능비교  (0) 2012.03.29
Posted by 구차니
게임/마비노기2012. 3. 31. 00:10
요즘 열심히 낚시를 심심해서 올리고 있는데
어라랏? 왜 물고기가 2가지가 아니라 3가지가 됐지? 하고 확인하니
으헉?!?!?

인벤이 없어서 획득은 못하고 사라졌지만 그래도 타이틀을 띠링띠링~ >_<


Posted by 구차니