오늘은 수요일! = 토마토 저축은행 오후 9시 까지 여는날!

웬만한 버스는 전부지나가는 길목이니

오랫만에(!) 칼퇴해서 계좌나 하나 개설하러 가야겠다

[링크 : http://www.tomatobank.co.kr/index.asp]


근데 토마토 사원들은 아침부터 저녁까지 12시간을 하는건가?!
우에엑!!!
Posted by 구차니
회사에 입사하고 이제 2달 하고 2주일 -_-

직위도 낮고 무언가 하기에는 항상 눈치 보이는 나이인지라
이것저것 하자고 할수도 없는 위치이지만..


이 회사는 10년을 이렇게 매출을 벌면서 버틴게 신기하다고 할정도로
업무 프로세스 꼬일대로 꼬인상황
몇몇은 죽을 정도로 빡시고 나머지도 만만찮게 빡신데
도대체 어떻게 돌아갔을까? 이런 생각이 드는데

암튼, vtigerCRM 과 SugarCRM 중에 일단 직관적으로 메뉴에 눈에 들어오는 vtigerCRM을
선택하여 살곰살곰 떡밥을 던지고 영업부서에 투척을 해놓고 물기를 기다리는중 -_-

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

회사관두고 싶은 하루  (0) 2010.11.25
토마토 주세요!  (2) 2010.11.17
컴퓨터가 징징징 ㅠ.ㅠ  (2) 2010.10.19
30분 동안에 있었던 사건/사고들  (0) 2010.10.09
커피  (4) 2010.09.29
Posted by 구차니
프로그램 사용/Mantis2010. 11. 15. 15:34
mantisbt/config_defaults_inc.php
파일에서 기본은 PHPMAILER_METHOD_MAIL 로 되어 있었는데
회사에서 사용하는 SMTP 서버가 존재한다면 PHPMAILER_METHOD_SMTP로 설정하면 간단히 끝난다.

회원가입이라던가 이런것들을 메일로 처리하기 때문에
반드시 메일은 설정해주어야 한다.

 476         /**
 477          * select the method to mail by:
 478          * PHPMAILER_METHOD_MAIL - mail()
 479          * PHPMAILER_METHOD_SENDMAIL - sendmail
 480          * PHPMAILER_METHOD_SMTP - SMTP
 481          * @global int $g_phpMailer_method
 482          */
 483         $g_phpMailer_method             = PHPMAILER_METHOD_SMTP;




[링크 : http://zziuni.pe.kr/myproject/entry/Mantis-SMTP-설정]
Posted by 구차니
Linux/Ubuntu2010. 11. 15. 01:23
예전에 draco님 블로그에서 본 느낌인데..
아무튼 추가하고 나서 발견한 놀라운 사실!

AMD 4200+x2 인데.. CPU 속도 조절이 가능한듯?!
노트북이 아니라 데스크탑인데도 말이다!



Posted by 구차니
Linux/Ubuntu2010. 11. 15. 00:02
SLI로 설치하기 위해서는 일단 SLI를 끄고(ASUS 기준 Single Video Card 모드로)
Nvidia 그래픽 드라이버를 설치한 다음 다시 BIOS에서 Dual Video Card나 AUTO 로 변환해주어야 한다.

일단 2010.11.15일 기준
Ubuntu에서 설치되는 리눅스용 nVidia 드라이버의 버전은 195 버전이다.
CUDA를 돌리기 위해서는 새로 받아서 설치해야할듯 -_-
그리고 SLI로 인식을 해서 여러개 그래픽 카드는 나오지만, SLI 관련 설정은 보이지 않는다.


260 대로 바꾸어도 별 차이는 없는듯 -_-

일단 내꺼는 아래와 같은데.. bad 의 경우 같은 느낌.
$ lspci | grep -i vga
04:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600 GT] (rev a1)
05:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600 GT] (rev a1)
$ lspci -t
-[0000:00]-+-00.0
           +-01.0
           +-01.1
           +-02.0
           +-02.1
           +-06.0
           +-07.0
           +-08.0
           +-09.0-[0000:01]----01.0
           +-0a.0
           +-0b.0-[0000:02]--
           +-0c.0-[0000:03]--
           +-0d.0-[0000:04]----00.0
           +-0e.0-[0000:05]----00.0
           +-18.0
           +-18.1
           +-18.2
           \-18.3


sudo nvidia-xconfig --sli=on 했다가 드라이버만 날아가네 -_-
머가 잘못된걸까?


[링크 : http://developer.download.nvidia.com/compute/cuda/3_2/drivers/docs/README_Linux.txt]

2010/11/01 - [Programming/CUDA / openCL] - SLI mode - AFR, SFR, AA
Posted by 구차니
간략하게 정리하면 아래의 박스 하나로 정리끝!

 $ sudo apt-get install webalizer
 $ sudo vi /etc/apache2/apache2.conf
    HostnameLookups On
 $ sudo vi /etc/webalizer/webalizer.conf
    LogFile         /var/log/apache2/access.log

 $ cd /usr/share/locale/ko/LC_MESSAGES/
 $ sudo rm webalizer.mo
 $ sudo wget "http://web.suapapa.net:8080/wordpress/wp-content/uploads/2008/01/webalizer.zip"
 $ sudo unzip webalizer.zip
 $ rm webalizer.zip

 $ sudo webalizer
 $ sudo crontab -e
    0 * * * * webalizer

기본적으로 설치되는 웹어라이저는 한글이 제대로 나오지 않는다.
그러한 패치와 함께 매시간 마다 웹어라이저를 실행하여 /var/www/webalizer 에 결과 페이지를 생성하도록 설정한다.

[링크 : http://www.webalizer.org/]
    [링크 : http://pchero21.com/79]
    [링크 : http://bobbyallen.wordpress.com/2007/01/16/install-and-configure-webalizer-on-ubuntu/]

Posted by 구차니
프로그램 사용/xen2010. 11. 14. 21:55
설치해볼 날이 오려나?

[링크 : https://help.ubuntu.com/community/Xen]
[링크 : http://ubuntu.or.kr/viewtopic.php?f=9&t=1379]

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

Xen on Ubuntu 11.10  (0) 2012.03.25
kvm - Kernel mode Virtual Machine  (0) 2012.03.06
xen 사용가능한 cpu 확인하기  (0) 2012.01.25
Intel ATOM cpu중 가상화 지원모델  (2) 2010.09.24
xen  (0) 2010.08.16
Posted by 구차니
Programming/openCL & CUDA2010. 11. 14. 13:29
NVCC는 NV(Nvidia)CC(C Compiler) 인데, 구조적으로 아래와 같은 컴파일 과정을 거친다.
호스트 코드는 일반적인 C 컴파일러(예를 들면 비쥬얼 스튜디오 커맨드 라인이나 gcc)로 컴파일을 떠넘기고
nvcc는 머신코드(CUDA device용 PTX)를 생성한다.

즉, 어떠한 코드를 컴파일 하는데 있어 nvcc만으로는 독립적으로 컴파일이 진행될수 없다.
그런 이유로 윈도우에서는 Visual Studio에 빌붙고, 리눅스에서는 gcc에 빌붙는다.



nvcc의 목적에 나온 내용으로, CUDA가 아닌 내용은 범용 C 컴파일러로 투척(forward)한다고 되어있고
윈도우에서는 MS Visual Studio의 cl을 실행(instance)하여 사용한다고 되어있다.
Purpose of nvcc

This compilation trajectory involves several splitting, compilation, preprocessing,
and merging steps for each CUDA source file, and several of these steps are subtly
different for different modes of CUDA compilation (such as compilation for device
emulation, or the generation of device code repositories).  It is the purpose of the
CUDA compiler driver nvcc to hide the intricate details of CUDA compilation from
developers.  Additionally, instead of being a specific CUDA compilation driver,
nvcc mimics the behavior of the GNU compiler gcc: it accepts a range of
conventional compiler options, such as for defining macros and include/library
paths, and for steering the compilation process. All non-CUDA compilation steps
are forwarded to a general purpose C compiler that is supported by nvcc, and on
Windos platforms, where this compiler is an instance of the Microsoft Visual Studio
compiler, nvcc will translate its options into appropriate ‘cl’ command syntax. This
extended behavior plus ‘cl’ option translation is intended for  support of portable
application build and make scripts across Linux and Windows platforms.

그리고 내 컴퓨터에는 일단..
Visual Studio 6.0이 설치되어 있고, 개인적인 .net 거부반응으로 인해 2002나 2008 이런 녀석들은 설치되어 있지 않다.

아무튼, host compiler에서 Windows platform은
           "Microsoft Visual Studio compiler, cl" 이라고 되어 있는디..
           VS2002 부터 지원하는지는 모르겠지만 아무튼, cl은 command line이라고
           clcc.exe 같은 녀석으로 지원하는 커맨드 라인 MSVS 컴파일러 이다.
           혹시나 openCL인줄 알았더니 그것도 아니네 -_-

그리고 Supported build enviroment 에서는 Windows + MinGW shell이 존재한다.
gcc가 아니다 shell 이다 -_- 즉, 죽어도 컴파일러는 Visual Studio를 설치할 수 밖에 없다(윈도우에서는)

아래 13페이지와

14페이지의 내용을 둘러보고

옵션들을 조정해 보아도, VS가 없으면 안된다.(VS6.0도 안된다)

[링크 : http://moss.csc.ncsu.edu/~mueller/cluster/nvidia/2.0/nvcc_2.0.pdf]

'Programming > openCL & CUDA' 카테고리의 다른 글

CUDA / Visual Studio 2008  (2) 2010.12.05
CUDA + Visual Studio 2005  (0) 2010.12.01
PTX - Parallel Thread Execution  (0) 2010.11.11
ATI Stream / OpenCL 을 Nvidia에서 돌려보았더니!  (0) 2010.11.06
ATI STREAM - OpenCL 문서들  (0) 2010.11.04
Posted by 구차니
개소리 왈왈2010. 11. 14. 13:05
HD Tune은 윈도우에서 S.M.A.R.T 정보를 편하게 확인할수 있는 툴이다.

SMART는 스스로 하드 상태를 분석하는 기술인데
Self-Monitoring, Analysis, and Reporting Technology
[링크 : http://en.wikipedia.org/wiki/S.M.A.R.T.]

오래전에 사용하던 250GB 하드가 슬슬 소리를 내기 시작하길래 다시 한번 수치들을 확인해보았다.
(물론 예전에 BIOS SMART 에서 경고를 냈기에 이미 교체하고 잡다한 날아가도 되는 동영상을 모아놓은 하드로 사용중)

문제가 있는지 노란색으로 줄 쫙!
하지만 항상 그러하듯, Current / Worst / Threshold / Data가 가지는 의미를 이해하지 못하겠다.
원래 의미대로라면 Current의 값은 0부터 시작해서 Worst 까지 가능하며
Threshold는 Worst 보다 작아야 하며 대부분 Threshold 보다 Current가 올라가면 경고가 떠야 할것 같은데..
그리고 Data는 Current가 있는데 또 왜 존재하는 걸까?



아무튼, 설치시 메뉴얼을 일단 복사!
This function uses S.M.A.R.T. (Self-Monitoring Analysis and Reporting Technology) to get information about the health of the hard disk.
The table shows the following parameters:
- ID: parameter which is being measured
- Current: current value
- Worst: the worst value which has been recorded since the hard disk was first used
- Threshold: the value of any of the parameters should never get below the threshold.
- Data: shows the usable data which belongs to the ID.
- Status: status of the parameter (OK or failed).

Power on time
The power on time is usually indicated in hours, but some manufacturers show this time in minutes or even seconds.

위의 스샷을 보면 ID는 하드별로 지원하는 항목이 차이가 있어 보이고

Current는 현재값 (어이어이 이렇게 뭉뚱그려 놓으면 어떻게 알아!)
Worst는 하드를 사용하면서 기록된 최악의 값(그럼 이게 더 늘어 날수도 있다는 의미군!)
Threshold는 어떤 값도 이것 이하로 떨어져서는 안된다는데(읭? 번역이 안돼!!!!)
Data는 ID에 속한 사용가능한 값(그러니까 Current는 일종의 정규화를 거친 Data 값 인가?)을 의미한다.


초과한다는 의미는, current 값은 threshold보다 낮아야 하고 값은 항상 증가하는 방향이어야 한다는 의미.
The most basic information that SMART provides is the SMART status. It provides only two values: "threshold not exceeded" and "threshold exceeded". Often these are represented as "drive OK" or "drive fail" respectively. A "threshold exceeded" value is intended to indicate that there is a relatively high probability that the drive will not be able to honor its specification in the future: that is, the drive is "about to fail".
[링크 : http://en.wikipedia.org/wiki/S.M.A.R.T.]

근데 꼭 또 그렇지도 않은듯?
Legend
Higher
Higher raw value is better
Lower
Lower raw value is better
Critical: red colored row Potential indicators of imminent electromechanical failure

10 0A Spin Retry Count
Lower
Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.

[링크 : http://en.wikipedia.org/wiki/S.M.A.R.T.]

아래는 SMART 정보를 볼수 있는 플랫폼별 목록
[링크 : http://en.wikipedia.org/wiki/Comparison_of_S.M.A.R.T._tools]



[링크 : http://ilmag.tistory.com/108]

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

헉헉 내 블로그 살아난건가?!  (2) 2010.11.30
대화명 어쩔?  (4) 2010.11.19
첫 눈  (2) 2010.11.09
서점이 어디간거야!?  (2) 2010.11.06
옥수수를 들고있으니  (0) 2010.10.17
Posted by 구차니
하드웨어/Network 장비2010. 11. 13. 12:19
문득 네트워크 대역폭을 느릴 이유가 있어서
본딩을 검색하다 보니 Teaming이라는 용어가 나오길래 한번 검색을 해보았다.

근원은 집합연결 이고
하위 기술로 Ethernet bonding, NIC teaming 등이 존재한다.
이러한 기술의 근원은 과거 네트워크가 느렸기 때문 속도의 제약을 뛰어넘고,
안정성의 확보를 위해(단일 링크일 경우 하나만 끊어지면 전체망이 죽어 버리므로) 사용해왔다고 한다.

Other terms for link aggregation include Ethernet bonding, NIC teaming, Trunking, port channel, link bundling, EtherChannel, Multi-link trunking (MLT), NIC bonding, network bonding,[1] Network Fault Tolerance (NFT), Smartgroup (from ZTE), and EtherTrunk (from Huawei).

Link aggregation addresses two problems with Ethernet connections: bandwidth limitations and lack of resilience.

  With regard to the first issue: bandwidth requirements do not scale linearly. Ethernet bandwidths historically have increased by an order of magnitude each generation: 10 Megabit/s, 100 Mbit/s, 1000 Mbit/s, 10,000 Mbit/s. If one started to bump into bandwidth ceilings, then the only option was to move to the next generation which could be cost prohibitive. An alternative solution, introduced by many of the network manufacturers in the early 1990s, is to combine two physical Ethernet links into one logical link via channel bonding. Most of these solutions required manual configuration and identical equipment on both sides of the aggregation.[2]

  The second problem involves the three single points of failure in a typical port-cable-port connection. In either the usual computer-to-switch or in a switch-to-switch configuration, the cable itself or either of the ports the cable is plugged into can fail. Multiple physical connections can be made, but many of the higher level protocols were not designed to failover completely seamlessly.

[링크 : http://en.wikipedia.org/wiki/Link_aggregation]

요즘 고속 무선은 이러한 네트워크 결합기능을 이용하여 갑자기 속도가 이렇게 팍팍 오른듯
On 802.11 (Wi-Fi) channel bonding is used in "Super G" technology, also referred as 108Mbit/s. It bonds two channels of classic 802.11g, which has 54Mbit/s signaling rate.

[링크 : http://en.wikipedia.org/wiki/Channel_bonding]

RAID 와 비슷하지만, 아무튼 RAIN 이라는 녀석도 존재!
[링크 : http://en.wikipedia.org/wiki/Redundant_Array_of_Inexpensive_Nodes) RAIN




이런 이유로 랜카드 구경하다가 발견한 괴물같은 녀석 -_-
무려 가격이 20만원대!
그런데 PCI / PCI-X 라는데 Ex도 아니고 뭐지!?

아래 광고(!)에 의하면
32 / 64bit
33/66/100/133Mhz
를 지원한다고 하는데 PCI는 32bit에 33Mhz 므로 PCI로는 제성능을 못낼듯 -_-
이런건 언넝 PCI-Ex 1x 자리로 나와주어야 하는거 아냐?


Year created 1998
Created by IBM, HP, and Compaq
Superseded by PCI Express (2004)
Width in bits 64
Capacity 1064 MB/s
Style Parallel
Hotplugging interface yes



[링크 : http://en.wikipedia.org/wiki/PCI-X]

Posted by 구차니