7. Процессоры, Серверы и пр.
• Niagara 2
> http://www.sun.com/processors/niagara/
• Rock
> http://blogs.sun.com/jonathan/entry/rock_arriv
ed
• Thumper
> http://www.sun.com/servers/x64/x4500/
8. Storage Portfolio
5Xx0
9985
SL 8500 L1400 9990 VTL
NAS
Storage Area
Virtual Storage Encryption Key
Tape Drives Network
Manager Management Switches
T9x40 T10000
4e/4/5 Data
Data
Library Protection
Mgmt.
Software Software
Software
10. Solaris 10 USE IMPROVE EVANGELIZ
E
Solaris and GNU/Linux
Mozilla Firefox, Mozilla Thunderbird, OpenOffice.org, ...
GNOME
X Window System
UNIX utilities
GNU utilities
System libraries POSIX
POSIX+ extensions
Solaris kernel
Linux kernel
Hardware
11. Solaris 10 USE IMPROVE EVANGELIZ
Что я могу делать под E
Solaris?
12. Solaris 10 USE IMPROVE EVANGELIZ
E
Дистрибутивы Solaris
Поддерживаемый Sun
●
– Solaris 10
Solaris Express Community Edition (каждые 2 недели)
–
Solairs Express Developer Edition (каждые 3 месяца)
–
Community
●
– BeleniX (LiveCD x86)
Nexenta (GNU/Opensolaris)
–
Martux (Sparc LiveCD)
–
Schillix
–
NEW! Проект Indiana!
●
http://blogs.sun.com/SFilippp
13. Solaris 10 USE IMPROVE EVANGELIZ
E
Project Indiana
.. is what everyone is talking about in
●
OpenSolaris land.
Is the promising new OpenSolaris binary
●
distribution
Lead by Ian Murdock: The 'Ian' in Debian.
●
Great new features you always wanted in
●
Solaris.
14. Solaris 10 USE IMPROVE EVANGELIZ
E
Project Indiana (cont'd)
Network based apt-like binary package
●
management called the Universal
Packaging system
The cool new Distro-constructor!
●
Simply select packages from repository
•
Customize look and feel
•
and spread your own distribution!
•
www.opensolaris.org/os/project/indiana/
●
15. Solaris 10 USE IMPROVE EVANGELIZ
E
Что такое Зоны?
Контейнеры?
Изолированные экземпляры
Solaris (> 8000),
Zones
собственная/разделяемая
файловая система,
+
собственный root-вый доступ,
собственные настройки
сети....
Resource
Группирует набор процессов
Management
в “пулы”, Управление
ресурсами между
=
процессами
Способ легковесной
Containers
виртуализации ОС....
16. Solaris 10 USE IMPROVE EVANGELIZ
E
Что позволяют делать Зоны?
Создание для каждого студента
●
собственной среды Unix для различных
экспериментов (с возможностью root-вого
доступа)
Создание “песочницы” для
●
программистов, для сборки и установки
приложений
Создание тестовых окружений для новых
●
приложений
Разделение вычислительных ресурсов
●
между различными пользователями
Объединение нескольких серверов в один
●
Эмуляция нескольких серверов на одном!
●
17. Solaris 10 USE IMPROVE EVANGELIZ
E
Демонстрация Solaris
Zones/Containers
Global Zone Web Zone Software Zone
1 Processor 3 Proacessor 2 Processor
Share Shares Shares
192.168.1.128 192.168.1.150 192.168.1.151
/usr, /platform, /sbin, /lib (r/o)
(r/o)
/etc, /var /etc, /var (r/w) /etc, /var (r/w)
/usr/local /usr/local (r/w)
/cdrom
/cdrom
Pentium Mobile Centrino, Solaris 10 x86
(resource management becomes much more fun on
multi-processor machines)
18.
19. Solaris может все -проект
Brandz
• Возможность запускать приложения других
ОС без перекомпиляции – ядро Solaris
эмулирует системные вызовы.
• Возможно установить полноценные ОС в зону
• Доступные виртулизации:
> Linux-зона
> Windows
> Mac OS X ожидается....
http://www.opensolaris.org/os/community/bra
ndz/
20. Можно запускать не только бинарные Linux – программы,
но и установить Linux в зону.
Linux-зона
Примеры - http://sunhelp.ru
22. Интересные ссылки по
виртуализации
• Brandz
http://www.opensolaris.org/os/community/brandz/
• Crossbow виртуализация сетевых интерфейсов
http://www.opensolaris.org/os/project/crossbow/
• Sun'овский вариант Xen и не только:
> http://www.openxvm.org/
• Руководство по системному администрированию:
контейнеры в Solaris – управление ресурсами и
зонами http://docs.sun.com/app/docs/doc/820-2979?
l=ru&q=%D0%97%D0%BE%D0%BD%D1%8B
• LDOMS – виртуализация by Niagara
http://www.sun.com/servers/coolthreads/ldoms/index.
xml
23. Solaris 10 USE IMPROVE EVANGELIZ
E
DTrace Features
Dynamic Instrumentation
●
– Zero probe effect when disabled
Unified Instrumentation
●
– Instrument both kernel and applications
Can follow flow-control across boundaries
–
Kernel Instrumentation
●
– Can instrument in-kernel subsystems like
virtual memory, synchronization, scheduler
Data Integrity
●
– Errors always reported
24. Solaris 10 USE IMPROVE EVANGELIZ
E
DTrace Features
Arbitrary Actions
●
Predicates
●
Take action only when condition is met
–
High-level Control Language
●
C-like language describes predicates &
–
actions
All ANSI C operators (add, subtract, etc)
–
Access to kernel variables and data types
–
User-defined variables
●
Data aggregation
●
25. Solaris 10 USE IMPROVE EVANGELIZ
E
Sample D-Light screen-shot
+267%
In 2 Days
+80%
+35% In a Day
In an
Afternoon
Online Parcel Futures Message
Tracking Forecasting Handing
System Application Benchmark
Source: Sun Microsystems, Inc.
26. Solaris 10 USE IMPROVE EVANGELIZ
E
More about D-Light at
Demo of D-Light at
●
http://sunfeedroom.sun.com/linkin
g/index.jsp?
skin=twoclip&fr_story=FEED
ROOM192569
D-Light tutorial at
●
http://blogs.sun.com/solarisdev/en
try/project_d_light_tutorial
27. Solaris 10 USE IMPROVE EVANGELIZ
E
DTrace Results on Production
Systems +300%
+267% In 5 Hours
In 2 Days
+80%
+32% +35% In a Day
In a In an
Morning Afternoon
Financial Online Parcel Futures Message Data
Tracking Forecasting Routing
Database Handing
System Application
Application Benchmark
Source: Sun Microsystems, Inc.
28. Интересные ссылки по D-trace
• Chime - GUI проект для D-trace
> http://www.opensolaris.org/os/project/dtrace-chime/
• Коллекция D-trace скриптов
> http://www.dtracescripts.com/
29. Solaris 10 USE IMPROVE EVANGELIZ
E
Volumes versus ZFS
Traditional Volumes ZFS Pooled Storage
Abstraction: virtual disk Abstraction: malloc/free
● ●
Partition/volume for each No partitions to manage
● ●
FS Grow/shrink
●
Grow/shrink by hand automatically
●
Each FS has limited All bandwidth always
● ●
bandwidth available
Storage is fragmented, Pool allows space to be
● ●
stranded shared
ZFS ZFS ZFS
FS FS FS
Storage Pool
Volume Volume Volume
30. Solaris 10 USE IMPROVE EVANGELIZ
E
ZFS Administration
Create a storage pool named “home”
●
# zpool create home mirror disk1 disk2
Create filesystems “ann”, “bob”, “sue”
●
# zfs create home/ann /export/home/ann
# zfs create home/bob /export/home/bob
# zfs create home/sue /export/home/sue
Add more space to the “home” pool
●
# zpool add home mirror disk3 disk4
31. Solaris 10 USE IMPROVE EVANGELIZ
E
ZFS Administration – Cool
Features
Turn on compression for Ann's data
●
# zfs compression=on home/ann
Limit Bob to a quota of 10G
●
# zfs quota=10g home/bob
Guarantee Sue a reservation of 20G
●
# zfs reservation=20g home/sue
Take a snapshot of Ann's filesystem
●
# zfs create home/ann@tuesday
32. Интересные ссылки по ZFS
• Слайды
> http://www.opensolaris.org/os/community/zfs/docs/
zfs_last.pdf
• Учебные материалы
> http://www.opensolaris.org/os/project/dtrace-chime/
• Интересные видео
> http://www.infoworld.com/archives/videoTemplate.jsp?I
> http://www.youtube.com/watch?v=1zw8V8g5eT0
33. Интересные ссылки по Solaris
• Отличная презентация про Open
Solaris
> http://www.slideshare.net/gnunify/open-solar
• Все необходимое:
> http://www.opensolaris.org
35. What Is NetBeans?
• A comprehensive, modular Java IDE
> Out-of-box support for Java SE, Java EE, Java ME
> Large set of 3rd party modules (plug-in's)
> Intuitive drag-and-drop development
> Debugger, Profiler, Refactoring, etc...
• Free and open-source based
> Open source since June, 2000
> Large community of users and developers
• A platform for building applications
> Rich client Java applications
> Rich framework of windows, menus, tool bars, actions
36. What's New In NetBeans 6.0?
• Code editor enhancements
• Ruby, JRuby, & Ruby on Rails support (*)
• Easier installation and upgrading
• Swing GUI data binding (+)
• Integrated profiling, profiling points (+)
• Integrated visual web features (*)
• Mobility graphical game builder (*)
• SOA & UML enhancements
• Netbeans platform enhancements
(*) Topic of an additional tech demo session
(+) Will see later in this tech demo session
39. Out of the Box Java EE 5 Support
• Web application development (+)
• Java EE 5 Support (+)
• Debugging, testing, profiling
• Struts and JavaServer Faces (JSF)
• JBoss 4, WebLogic 9, WebSphere
• Web services development (client + service) (+)
• AJAX app development (Blueprints)
• EJB application development
(+) Will see demo later in this session
44. Tokyo Institute of Technology
Now delivering 47.38 TFLOPS
38.18 TFLOPS in 31 Days
6 Linked sub-clusters
using CRS
8 Voltaire Infiniband switches
42 Sun Fire x4500 Data Servers
80+ Racks
100+ 77
100+
100+ 77
100+
100+ 7
360 Clearspeed FP accelerators
100+ x4500 7
x4600 4 Thumper
Galaxy 4 Thumper
Galaxy 4 Thumper
Galaxy 4 655 Sun Fire x4600 Servers
Thumper
Galaxy 4 Thumper
Galaxy
11
10,480 Opteron cores
11
11
Infiniband
21 TeraBytes RAM
Infiniband
Infiniband
Tier Infiniband
Tier222Switch
Switch
TierInfiniband
Switch
TierInfiniband
Tier222Switch
Switch
1 PetaByte storage
Tier Switch
Sun N1 Grid Engine
Sun N1 System Manager
Infiniband Infiniband
Lustre parallel file system
Tier 1 Switch Tier 1 Switch
Asia's fastest supercomputer
45. Ranger Configuration
Opteron GH z 2.1
Details
CPU
Flops/clock/core 4
Cores per chip 4
3,936 Compute nodes in 82 C48 racks
Sockets 4 4 sockets
12-
x 4 cores Pegasus 4S
Cores 1 6
Compute node
blade
x 4 flops Opt Blade
Gflops 14
3 Opt Shelf
M BW(GBps)
em 2 4 11 other
HT2 blades
M size(GB)
em 3 2 4 x 4 2-GB in shelf
Opt Opt
Off-nodeBW(GBps) 4 DDR2 DIMMs
Approx watts 60
0 PCIe from
PCIe PCIe
Nodes/Rack 4 8 each blade
One 4x DDR
D drives
isk 48 HCAHCAHCAHCAHCAHCAHCAHCAHCAHCAHCAHCA
IB port per blade
Storage
Rawstoragesize(TB) 24
Node
(4 GBps) IB leaf
StorageBW(GBps) 1 24-port switch
switch
Nodes/Rack 9
NEM
Four cables
Com puteN odes 33
,9 6
per shelf
Com putecores 6 ,9 6
27 Magnum switch Magnum switch
Tflops 59
2 Ratios 2,160 ports 2,160 ports
Bisection BW(TBps) 7.9 0 1
.0 5 B/ F
M BW(TBps)
em 94 08.1 B/ F
System
M size(TiB)
em 13 0 3
2 2 sockets x
.2 B/ F Opt Opt
BulkStorenodes 72 2 cores
PCI-X PCI-X PCI-X PCI-X PCI-X
Storagesize(TB) 12
,7 8 3 .3 B/ F
48 x
StorageBW(TBps) 0 7 0 01
.0 .0 0 4 B/ F
IB HCA
8 SATA
drives
8 SATA
drives
2 GigE
2 GigE
8 SATA
drives
8 SATA
drives
8 SATA
drives
8 SATA
drives
IB HCA
500 GB
Tota Racks
l 95
drives
Approx total Sq feet 23
,0 7 2 0 Tflops / Ksqft
6
Approx total M atts
w 2.4 2 4 Tflops / M
2 W
72 Bulk Storage nodes in 8 racks
X4500 (4 RU)
46. Solaris 10 USE IMPROVE EVANGELIZ
E
Sun Studio Software
Sun Studio - Integrated
Sun Studio 12
Оптимизирующие C/C++/Fortran
компиляторы
Официальный релиз с полной
Продвинутый отладчик (dbx) поддержкой
Memory Leak Detection/Analysis (RTC) Платформы: Sparc Solaris, Intel
Solaris, Intel Linux (SUSE, RedHat)
Аналазитор производительности
Поддержка многоядерных и
многопроцессорных систем
Sun Studio Express
Многопоточные библиотеки
Preview следующего релиза
Анализатор потоков
D-Light – удобное, легковесное
Поддержка OpenMP 2.5 API, MPI
средство профилирования
IDE основанное на NetBeans
dmake – параллельный и
распределенный Все – беслатно для любого
использования
Сообщество разработчиков,
поддержка, треннинги
47. Solaris 10 USE IMPROVE EVANGELIZ
E
Sun Studio – Cool Tools
Графический отладчик и анализотор производительности
●
Memory Leak and Access Detection
●
GCCfss (GCC for Sparc Systems)
●
Data Race Detection Tool (DRDT)
●
ATS – Automatic Tuning System
●
Binary Improvement Tool (BIT) and Link-Time Optimizer
●
Simple Performance Optimization Tool (SPOT)
●
Distribute Make (dmake)
●
Compiler Commentary
●
Automatic Parallelization & Vectorization
●
Native Connector Tool
●
X-Designer GUI Builder
●
48. Solaris 10 USE IMPROVE EVANGELIZ
E
Автоматическое распараллеливание
#include <math.h>
#include <stdio.h>
OMP_NUM_THREADS=1 timex ./a.out
#define N 10000000
sum = 10000000.000000
double a[N], b[N], c[N];
real 39.95
double sum = 0.0;
user 33.14
sys 1.24
void
main(void) {
OMP_NUM_THREADS=2 timex ./a.out
sum = 10000000.000000
int i = 0;
real 22.45
loop:
user 33.59
sys 1.10
a[i] = sin(i);
b[i] = cos(i);
c[i] = a[i]*a[i] + b[i]*b[i];
OMP_NUM_THREADS=4 timex ./a.out
sum += c[i];
sum = 10000000.000000
i = i+1;
real 11.19
user 33.40
if ( i < N ) goto loop;
sys 1.21
printf(quot;sum = %fnquot;, sum);
}
49. Sun Studio 11 против GCC
SPECint CPU2000 Performance
SPECfp CPU2000 Performance
UltraSPARC III+ 1.0GHz
UltraSPARC III+ 1.0GHz
7506
7500
46%
900 873
7000
6500
better 352%
800
6000
5500
better
700 671 5000
Range:
623 4500
600 4000
Range:
3500
22%
522
3000
500 467 466
2500
439
-124% 26% -
420 417
412 414 2000
398
400 1501
360 1500 1181 1321
342 342
4449%
322 883
1000 741
300
290 545 561 469 377 569
300 500
266 235 317 228
250 215 133 232
217 110 112 180
172 151 165 98
226 0
200 Phys Shall Multi Para 3-D Imag Seis Imag Com Num Finit High M ete
ics/C ow Grid bolic Grap e mic e putat ber e Ener rolog
Comp FPGA Combi Chess Word Comp Group Datab Comp Simul hrom Wate Solv /Ellip hics Reco Wav Proc ional Theo Elem gy y:pol
ressio Circui natori : Proce ute theory ase ressio ated o r er tic gniti e essi Che ry ent Phys lutan
n ts al Game ssing visual & n annea
SPECfp CPU2000 Performance
SPECint CPU2000 Performance
Opteron (2.4GHz)
Opteron (2.4GHz) 3599
3600
2500
10%
2322
3350
45%
2250
better
2118 3100
2078
better
2000 2850
1873
Range: 2600
1739 2458
1750
Range:
1650
2350
1539
1534 2161
1493
7% -52%
1500 2062
2100
1413
1358
6% -183%
1887
1835
1265 1850
1245 1242 1214 1731
1250 1194
1178 1185 1161
1101 1600 1541
1068 1488 1466
1003 1400
1380
1000 953 1344
1329 1274 1309
1350 1217 1236
1146
1140 1096
1100 999
750 941
627
850 754 749
640
500
600
Com FPG GCC Com Che Wor Com PER Gro Data Com Sim
Phy Shall Multi Para 3-D Imag Seis Imag Com Num Finit High Mete
si
pres A bina ss: d pute L up base pres ulate
Sun Studio11 cs/C ow Grid bolic Grap e mic e puta ber e Ener rolo
sion Circ toria Gam Proc visu theo sion d
hro Wat Solv /Ellip hics Reco Wav Proc tiona Theo Elem gy gy:p
GCC
50. Интервалы: расширение для
наукоемких задач
• Учет дискретности представления аналоговых данных, погрешности
аппаратного округления, подсчет суммарной погрешности результата
• Различные режими округления дают различные результаты
f90 intx.f90 -fround=nearest; a.out
1.0000595
f90 intx.f90 -fround=positive; a.out
1.0001191
f90 intx.f90 -fround=negative; a.out
1.0
• Интервалы дают возможность получить границы погрешности
вычисления
f90 intx.f90 -xarch=sse2 -xia; a.out
[1.0,1.0001191]
51. N1 Grid Engine Overview
• Dynamic
Resource
Management
> Job Scheduling
> Resource
monitoring
> Policy
administration
> User
authentication
and access
control
> Accounting and
reporting
53. Supported Platforms
M st H
a er ost Com u e H
p t ost
Solaris 7, 8, 9, 10 onSPARC Solaris 7, 8, 9, 10 onSPARC
Solaris 8, 9, 10 onx86 Solaris 8, 9, 10 onx86
Solaris 10 onx64 Solaris 10 onx64
Linux kern 2.4-2.6 on
el Linu kern 2.4-2.6 on
x el
x86/x64 (an distribution
y ) x86/x64 (an distribution
y )
Win s 2000/XP Pro,
dow
2000/2003 Server
Mac OS X onPPC
AIX 4.3, 5.1, 5.3
HP-UX 11.x
Irix 6.5
54. More Information
• Main product page:
> http://www.sun.com/gridware/
• Open source project site:
> http://gridengine.sunsource.net/
• Community site:
> http://gridengine.info/
• Open source Service Domain
Manager site:
> http://hedeby.sunsource.net/
56. What is Sun SPOT?
• A Java platform for developing
applications for wireless networks
and small devices
• Applications such as:
> Robotics
> Art
> Toys
> Personal electronics
> Commercial Applications
> Telemetries
57. Sun SPOT Device
• Basic device has three
layers
> Battery
> Processor Board with
Wireless Communication
> Sensor Board (add-on
card)
• Processor Board alone
acts as a base-station
• User programs the
device entirely in Java
using Netbeans.
58. Sun SPOT Hardware
• Processor Board
> 180 Mhz 32-bit ARM920T core, 512K
RAM, 4M Flash
> 2.4 Ghz 802.15.4 radio with integrated
antenna
> USB interface
• Sensor board
> 2G/6G 3-axis accelerometer
> light and temperature sensors
> 8 3-color LEDS, 2 momentary switches,
6 analog inputs, 5 GPIO pins and 4 high
current output pins and a ADC.
59.
60. Sun SPOT Resources
• Project Sun SPOT http://www.sunspotworld.com/
> Sun SPOT documents and applications notes
> Short Video demos
> Classroom Curriculum
> Discussion Forum
• David's Blog: http://blogs.sun.com/davidgs/
> Latest news, other informal information on Sun SPOT
• The Squawk Project
http://research.sun.com/projects/squawk/
> Sun Microsystems official Squawk research project page
62. Другие интересные проекты Sun Labs
• Fortress
> http://research.sun.com/projects/plrg/Fortress/over
• Proximity communications
> http://www.bio-itworld.com/newsitems/2005/sept20
• Search in music
> http://research.sun.com/projects/dashboard.php?id
• Security, Cryptography, and Policy
> http://research.sun.com/projects/dashboard.php?id
И много других: http://research.sun.com/projects/