일요일 7월 19, 2009

Sun Studio 12 Update 1, 최신 Sun Studio Compilers and Tools 입니다. 컴파일러부터해서 C,C++,Fortran 개발을 위한 모든 툴을 포함하고 있습니다. Solaris 역시 Sun Studio로 개발되고 컴파일됩니다. SPARC CPU를 완벽하게 지원하는 유일한 컴파일러입니다.

Sun Studio Portal -> http://developers.sun.com/sunstudio/

지원하는 운영 체제는 Solaris 10, OpenSolaris (2008. 11 and 2009.06), SuSE Linux Enterprise Server 10, Red Hat Enterprise Linux 5, CentOS 5 입니다. Linux 환경을 지원하고, UNIX 와 다른 Linux 특화된 부분도 지원하고 있어, 리눅스 개발자 분들도 Sun Studio를 편하게 이용하실 수 있습니다. 아시겠지만, Linux, UNIX 환경에서 Windows의 Visual Studio와 같은 개발 툴이 없습니다. 툴은 있지만, 점유율이나 인지도가 그렇지 못 하다는 의미입니다. 그 가운데는 기능보다는 많이 알려지지 않았다는 이유도 있을 수 있습니다.

  • C, C++ and Fortran compiler optimizations for the latest UltraSPARC and SPARC64-based architectures
      -> Compiler는 해당하는 Target Platform 정확히는  ISA(Instruction set architecture)에 맞는 instruction으로 빌드하는게 임무입니다. 따라서 컴파일러가 최신 CPU의 업그레이드된 Instruction을 모른다면 그저 기존의 호환 가능한 Native insturction들로만 바이너리를 생성할 수 없겠죠. 따라서 새로 생긴 명령어들의 최적화된 기능들을 사용할 수가 없게됩니다. 즉, 실행에는 문제가 없지만, 100% 성능을 낼 수 없게 되는 것입니다. Sun Studio는 Sun 의 SPARC CPU와 그 Roadmap을 같이한다고 생각하셔도 됩니다. 가장 최적화된 Binary를 생성할 수 있는 유일한 Compiler입니다.
 
  • C, C++ and Fortran compiler optimizations for the latest x86 architectures from Intel and AMD including SSSE3, SSSE4a, SSe4.1, SSE4.2 compiler intrinsics support
    -> SPARC 외에도 x86 architecture의 새로운 Instruction 들도 같이 지원하고 있습니다.

  • Compiler, debugger, and profiling support for OpenMP 3.0
    -> 요즘 이슈가되는 Parallel Programming에서 가장 많이 쓰이는 OpneMP를 지원하며, 최신 3.0 버젼까지 지원하여 개발에 용이 합니다.

  • Profiling of distributed MPI-based applications
    -> 멀티 노드에서 병렬 프로그램이 가능한 MPI로 개발된 어플리케이션도 이제 Profiling할 수 있습니다.

  • DLight - New tool for unified application and system profiling using Dynamic Tracing (DTrace) technology on Solaris platforms
    -> Solaris의 강력한 Monitoring 툴인 Dtrace의 기능을 이용하여 OS의 여러 정보를 실시간으로 추적해 보고 분석해 볼 수 있습니다. 이러한 Tracing 값을 Graphical Analytics로 표현하여 개발 시 OS와 Application을 동시에 들여야 볼 수 있습니다.

  • dbxTool - New stand-alone graphical debugger
    -> 오래된 dbx 툴을 단일 Graphic 툴로 지원합니다. dbx만 사용하고자 할 경우, 또한 그것을 GUI로 사용할 수 있는 새로운 기능입니다.

  • Highly tuned and parallelized scientific libraries, including ScaLAPACK
    -> 복잡한 계산에서 높은 성능을 낼 수 있는 많은 수치 연산 라이브러리를 지원하고 있습니다.

  • Update IDE based on NetBeans 6.5.1 software
    -> Sun Studio는 GUI Framework을 NetBeans 와 공유하여 사용하고 있습니다. 편리하고 User-friendly Interface 로 GUI환경에서 편리하게 개발할 수 있습니다.

Sun Studio 12 Update 1 Features page: http://developers.sun.com/sunstudio/features/index.jsp
Sun Studio 12 Update 1 Press Release: http://www.sun.com/aboutsun/pr/2009-06/sunflash.20090623.1.xml




다들 업데이트 자주 하고 계시나요. Development build는 금방금방 나오내요. 이 글은 좀 늦게 올리지만, 전 나오자 마자 업데이트해서 쓰고 있습니다. 주로 bug fix한 내용이고, 한 가지 주의할 사항이 있어 알려드립니다.

update방법은 제 블로그에 글이 있어, 쉽게 하실 수 있으실 텐데요. 이번 update에서는 잘 못하면 update하고 reboot하다 fail이 발생할 수 있다고 합니다. 그걸 막기 위해서는 update하고 reboot전에 아래와 같이 조치를 취해 주시면 됩니다.

	1. Note the name of the new boot environment (BE) that was created (for example, opensolaris-#)
        -> update할 때 마다 image 이름의 번호가 하나씩 올라갑니다 전 이번에 opensolaris-6이 되었습니다. 올라간 새로운 이미지 번호를 생각해둡니다.

 	2. Using a Terminal window, execute the following commands
        -> 아래와 같이 임의의 디렉토리에 새롭게 update한 os를 마운트하고, repository 내용중 하나를 clean-up! 시켜주면 간단하게 끝납니다.

    		$ pfexec beadm mount <new BE name> /mnt
    		$ pfexec svccfg
    		svc:> repository /mnt/etc/svc/repository.db
    		svc:> delete network/fcoe_config
    		svc:> end
    		$ pfexec beadm unmount <new BE name>

beadm mount 라는 유용할 것 같은 command를 알아낸 것도 중요하겠내요.

첨부로 새로 들어간 Package 리스트를 올립니다.
SUNWaudiocmi			C-Media 8738 Family Audio Driver
SUNWbfe				Broadcom BCM4401 Fast Ethernet Driver
SUNWdosbox			DosBox - DOS Emulator
SUNWejabberd			ejabberd - Jabber/XMPP instant messaging server
SUNWiozone			iozone - a filesystem benchmark tool
SUNWlibxmlrpc-c			XMLRPC C/C++ Library
SUNWlogilab-astng		logilab-astng - Python Abstract Syntax Tree New
SUNWlogilab-common		common python libraries for logilab applications
SUNWmptsas			LSI MPT SAS 2.0 Controller HBA Driver
SUNWpython-pycurl		Pycurl - Python interface to libcurl
SUNWshmux			shmux - Shell Multiplexor
SUNWsnort			snort - Network Intrusion Detector
SUNWxwfs			X Window System Font server
developer/openjdk7/demo		OpenJDK 7.0 Demo Programs (1.7.0)
developer/openjdk7/demo-64	OpenJDK 7.0 64-bit Demo Programs (1.7.0)
developer/openjdk7/tools	OpenJDK 7.0 Dev. Tools (1.7.0)
developer/openjdk7/tools-64	OpenJDK 7.0 64-bit Dev. Tools (1.7.0)
system/openjdk7/manual		OpenJDK 7.0 Man Pages (1.7.0)
system/openjdk7/manual-ja	OpenJDK 7.0 Man Pages: Japan (1.7.0)
system/openjdk7/runtime		OpenJDK 7.0 Runtime Env. (1.7.0)
system/openjdk7/runtime-64	OpenJDK 7.0 64-bit Runtime Env. (1.7.0)





화요일 7월 14, 2009



지금 Australia에서 Opensolaris Kernel과 관련된 주제들로 3일간 Conference가 열리고 있습니다. 물론 저도 가고 싶지만, 현재 상황은 그러기가 힘들군요.

재미있는 주제들이 많고, 평소에 접하기 힘든 내용들도 많이 보입니다.

Agenda는 아래 링크에서 확인 하시구요.
http://au.sun.com/sunnews/events/2009/kernel/agenda.jsp

다행이 지금 Web으로 생방송이 되고 있답니다. 유료 행사이지만, 우리 도강^^을 해 봅시다.
방송은 하기 링크에서 보실 수 있습니다.
http://www.ustream.tv/channel/kernel-conference-australia



월요일 7월 13, 2009

Summary in English : Sun compiler patch links and short description.

현재 Sun 의 IDE toolkit인 Sun Studio는 Free이다. 기존에는 Sun Compiler는 구입해야하는 상용 Software였지만, 지금은 누구든지 다운로드 받아서 사용이 가능하다.

컴파일러도 하나의 프로그램이고, 버그가 있을 수 있다. 또한 좀 더 최적화된 Binary를 만들기 위한 Performance를 위한 patch도 있을 수 있다. 기존의 사용하던 컴파일러가 문제가 없었기 때문에, 안정 버젼으로 믿고 사용할 수도 있겠지만, 처음 개발환경을 만련한다거나, 새로운 프로젝트를 실행한다면, 컴파일러 환경도 Patch로 업데이트 하는 것이 좋다.

기존 Solaris 환경에서 Sun 의 Compiler를 사용하시고 계신 분이라면, 하기 Link에서 Patch 받아 설치할 수 있다.
 Forte Developer6 부터 Sun Studio 12까지 모든 링크를 정리하였다.

http://developers.sun.com/sunstudio/downloads/patches/ss12_patches.jsp
http://developers.sun.com/sunstudio/downloads/patches/ss11_patches.html
http://developers.sun.com/sunstudio/downloads/patches/ss10_patches.html
http://developers.sun.com/sunstudio/downloads/patches/ss9_patches.html
http://developers.sun.com/sunstudio/downloads/patches/ss8_patches.html
http://developers.sun.com/sunstudio/downloads/patches/s1s8cc_patches.html
http://developers.sun.com/sunstudio/downloads/patches/s1s7ee_patches.html
http://developers.sun.com/sunstudio/downloads/patches/s1s7cc_patches.html
http://developers.sun.com/sunstudio/downloads/patches/fd6u2_patches.html
http://developers.sun.com/sunstudio/downloads/patches/fd6u1_patches.html
http://developers.sun.com/sunstudio/downloads/patches/fd6_patches.html
http://developers.sun.com/sunstudio/downloads/patches/sw5_patches.html

This blog copyright 2009 by Ilho Kim