Nov 14, 2011
Bienvenue !
A Vue d'Aile est une association loi 1901 crée dans le but de diffuser le patrimoine naturel, architectural, culturel et historique régional, au moyen de photos aériennes. Nos pilotes utilisent des modèles réduits pour prendre de spectaculaires photos aériennes qui, nous l'espérons, vous permettrons de décorer agréablement votre intérieur ou votre bureau.
Oct 5, 2009
Moved
I've moved my blog to marckossa.over-blog.com.
Mon blog se trouve maintenant sur marckossa.over-blog.com.
Mon blog se trouve maintenant sur marckossa.over-blog.com.
Sep 8, 2009
My laptop's speed
Results of LinPack test (used to classify HPC in the top500 list).
Linpack SSE2 Double Precision Unrolled Benchmark n @ 100
Via Microsoft 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86
Tue Sep 08 09:28:26 2009
Speed 1053.34 MFLOPS
Numeric results were as expected
CPUID and RDTSC Assembly Code
CPU GenuineIntel, Features Code BFE9FBFF, Model Code 000006E8
Genuine Intel(R) CPU T2500 @ 2.00GHz Measured 1995 MHz
Has MMX, Has SSE, Has SSE2, Has SSE3, No 3DNow,
Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
Intel processor architecture, 2 CPUs
Windows NT Version 5.1, build 2600, Service Pack 3
Memory 3328 MB, Free 2046 MB
User Virtual Space 2048 MB, Free 2042 MB
On a 2 cpu virtual machine hosted on a X4150 Sun server, with eight 3 GHz Xeon processors, the speed is :
Linpack SSE2 Double Precision Unrolled Benchmark n @ 100
Via Microsoft 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86
Tue Sep 08 10:32:19 2009
Speed 1826.67 MFLOPS
Numeric results were as expected
CPUID and RDTSC Assembly Code
CPU GenuineIntel, Features Code 0FEBBBFF, Model Code 00010676
Intel(R) Xeon(R) CPU E5450 @ 3.00GHz Measured 2993 MHz
Has MMX, Has SSE, Has SSE2, Has SSE3, No 3DNow,
Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
Intel processor architecture, 2 CPUs
Windows NT Version 5.2, build 3790, Service Pack 2
Memory 3840 MB, Free 3223 MB
User Virtual Space 2048 MB, Free 2042 MB
Linpack SSE2 Double Precision Unrolled Benchmark n @ 100
Via Microsoft 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86
Tue Sep 08 09:28:26 2009
Speed 1053.34 MFLOPS
Numeric results were as expected
CPUID and RDTSC Assembly Code
CPU GenuineIntel, Features Code BFE9FBFF, Model Code 000006E8
Genuine Intel(R) CPU T2500 @ 2.00GHz Measured 1995 MHz
Has MMX, Has SSE, Has SSE2, Has SSE3, No 3DNow,
Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
Intel processor architecture, 2 CPUs
Windows NT Version 5.1, build 2600, Service Pack 3
Memory 3328 MB, Free 2046 MB
User Virtual Space 2048 MB, Free 2042 MB
On a 2 cpu virtual machine hosted on a X4150 Sun server, with eight 3 GHz Xeon processors, the speed is :
Linpack SSE2 Double Precision Unrolled Benchmark n @ 100
Via Microsoft 32-bit C/C++ Optimizing Compiler Version 15.00.30729.207 for 80x86
Tue Sep 08 10:32:19 2009
Speed 1826.67 MFLOPS
Numeric results were as expected
CPUID and RDTSC Assembly Code
CPU GenuineIntel, Features Code 0FEBBBFF, Model Code 00010676
Intel(R) Xeon(R) CPU E5450 @ 3.00GHz Measured 2993 MHz
Has MMX, Has SSE, Has SSE2, Has SSE3, No 3DNow,
Windows GetSystemInfo, GetVersionEx, GlobalMemoryStatus
Intel processor architecture, 2 CPUs
Windows NT Version 5.2, build 3790, Service Pack 2
Memory 3840 MB, Free 3223 MB
User Virtual Space 2048 MB, Free 2042 MB
Feb 9, 2009
SNMP Monitoring for GlassFish
Sun is delivering important addons to the GlassFish J2EE server. One of these add-ons is the SNMP Monitoring feature, which I'd like to discuss briefly here. Being part of the technical team that delivered the feature, I have to say that I was impressed by the overall way it was handled. It was released, not when the date set by marketing 8 months ago was rearched, but when all important sub-features were implemented, and when there were no major bugs left (and not because important bugs were closed as "not reproducible", but because code was actually fixed). It happened to correspond to the marketing date, but that's only because of the hard overtime work done of some team members. Great work !!
Here are some examples of what can be found out about a running GlassFish server, using some simple snmp requests. snmpwalk is a standard Unix command widely available.
In SNMP, indexes are used to walk through a hierarchy of information. In the J2EE MIB, they are used this way: ""
Here are some sample commands:
This SNMP MIB will be of great help to administrators who need an easy and efficient way to access J2EE-related information, when monitoring and managing GlassFish deployments.
Sun GlassFish Portfolio Landing Page: http://www.sun.com/glassfishportfolio
GlassFish (Community) Homepage: http://glassfish.org
Sun GlassFish Enterprise Server Homepage: http://www.sun.com/software/products/appsrvr/index.xml
Here are some examples of what can be found out about a running GlassFish server, using some simple snmp requests. snmpwalk is a standard Unix command widely available.
In SNMP, indexes are used to walk through a hierarchy of information. In the J2EE MIB, they are used this way: "
Here are some sample commands:
#
# Let's set snmpwalk options once for all
$
$ OPT="-m +J2EE-MIB:ALL -M +/tmp/:/etc/sma/snmp/mibs -c public -v 1 $HOST:10161"
$
# What domain do we have in the deployement ?
$ snmpwalk $OPT J2EE-MIB::j2eeDomMoName
J2EE-MIB::j2eeDomMoName.1 = STRING: "domain1"
#
# We have one domain (index 1). What are the servers in this domain ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeSrvMoName.1
J2EE-MIB::j2eeSrvMoName.1.1 = STRING: "cluster=cl1,name=cl1_ins1"
J2EE-MIB::j2eeSrvMoName.1.2 = STRING: "name=server"
J2EE-MIB::j2eeSrvMoName.1.3 = STRING: "name=sa_ins3"
J2EE-MIB::j2eeSrvMoName.1.4 = STRING: "cluster=cl1,name=cl1_ins2"
#
# We have 4 servers. What are their states ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeSrvSMState
J2EE-MIB::j2eeSrvSMState.1.1 = INTEGER: stopped(3)
J2EE-MIB::j2eeSrvSMState.1.2 = INTEGER: running(4)
J2EE-MIB::j2eeSrvSMState.1.3 = INTEGER: stopped(3)
J2EE-MIB::j2eeSrvSMState.1.4 = INTEGER: stopped(3)
#
# Only one is running (index 2). What are the applications deployed in it ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeAppMoName.2
J2EE-MIB::j2eeAppMoName.2.3 = STRING: "name=conapp1,server=server"
J2EE-MIB::j2eeAppMoName.2.4 = STRING: "name=__ejb_container_timer_app,server=server"
J2EE-MIB::j2eeAppMoName.2.5 = STRING: "name=MEjbApp,server=server"
J2EE-MIB::j2eeAppMoName.2.6 = STRING: "name=__JWSappclients,server=server"
J2EE-MIB::j2eeAppMoName.2.11 = STRING: "name=webapp1,server=server"
#
# There are 5 applications. Let's take the last one (index 11). When was it started ?
$
$ snmpwalk $OPT j2eeAppSMStartTime.2.11
J2EE-MIB::j2eeAppSMStartTime.2.11 = STRING: "Fri Feb 06 10:32:33 MET 2009"
#
# What modules are deployed in it ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeModMoName.2.11
J2EE-MIB::j2eeModMoName.2.11.14 = STRING: "application=webapp1,name=//server/webapp1webmod2,server=server"
J2EE-MIB::j2eeModMoName.2.11.15 = STRING: "application=webapp1,name=//server/webapp1webmod1,server=server"
#
# There are 2 modules in this application. What are they ?
#
snmpwalk $OPT J2EE-MIB::j2eeModType.2.11
J2EE-MIB::j2eeModType.2.11.14 = INTEGER: web(3)
J2EE-MIB::j2eeModType.2.11.15 = INTEGER: web(3)
#
# They are web modules
# Let's take the first module (index 14). When was it started ?
$
snmpwalk $OPT J2EE-MIB::j2eeModSMStartTime.2.11.14
J2EE-MIB::j2eeModSMStartTime.2.11.14 = STRING: "Fri Feb 06 10:32:33 MET 2009"
#
# How many servlets are in it ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeSletMoName.2.11.14
J2EE-MIB::j2eeSletMoName.2.11.14.36 = STRING: "application=webapp1,name=webapp1webmod2_Servlet2,webmodule=//server/webapp1webmod2,server=server"
J2EE-MIB::j2eeSletMoName.2.11.14.37 = STRING: "application=webapp1,name=jsp,webmodule=//server/webapp1webmod2,server=server"
J2EE-MIB::j2eeSletMoName.2.11.14.38 = STRING: "application=webapp1,name=default,webmodule=//server/webapp1webmod2,server=server"
J2EE-MIB::j2eeSletMoName.2.11.14.39 = STRING: "application=webapp1,name=webapp1webmod2_Servlet1,webmodule=//server/webapp1webmod2,server=server"
#
# There are 4 servlets.
# On this server, how many resources are deployed ?
$
$ snmpwalk $OPT J2EE-MIB::j2eeRsrcMoName.2
J2EE-MIB::j2eeRsrcMoName.2.1 = STRING: "application=MEjbApp,name=bean-pool,ejb-module=mejb.jar,server=server,stateless-session-bean=MEJBBean"
J2EE-MIB::j2eeRsrcMoName.2.2 = STRING: "name=keep-alive,server=server"
J2EE-MIB::j2eeRsrcMoName.2.3 = STRING: "name=MConnectorPool,server=server"
J2EE-MIB::j2eeRsrcMoName.2.4 = STRING: "name=orb.threadpool.thread-pool-1,server=server"
J2EE-MIB::j2eeRsrcMoName.2.5 = STRING: "name=transaction-service,server=server"
J2EE-MIB::j2eeRsrcMoName.2.6 = STRING: "name=eis/ConnectorMonitoring"
J2EE-MIB::j2eeRsrcMoName.2.7 = STRING: "name=connection-queue,server=server"
J2EE-MIB::j2eeRsrcMoName.2.8 = STRING: "name=__TimerPool,server=server"
J2EE-MIB::j2eeRsrcMoName.2.9 = STRING: "name=jdbc/__TimerPool,server=server"
#
# There are 9 resources. Of what type are they ?
#
snmpwalk $OPT J2EE-MIB::j2eeRsrcType.2
J2EE-MIB::j2eeRsrcType.2.1 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.2 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.3 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.4 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.5 = INTEGER: jta(6)
J2EE-MIB::j2eeRsrcType.2.6 = INTEGER: jca(9)
J2EE-MIB::j2eeRsrcType.2.7 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.8 = INTEGER: other(1)
J2EE-MIB::j2eeRsrcType.2.9 = INTEGER: jdbc(3)
#
This SNMP MIB will be of great help to administrators who need an easy and efficient way to access J2EE-related information, when monitoring and managing GlassFish deployments.
Sun GlassFish Portfolio Landing Page: http://www.sun.com/glassfishportfolio
GlassFish (Community) Homepage: http://glassfish.org
Sun GlassFish Enterprise Server Homepage: http://www.sun.com/software/products/appsrvr/index.xml
Labels:
enterprisemanager,
glassfish,
glassfish21,
glassfishentmgr,
glassfishportfolio,
j2eemib,
masteragent,
mib,
portfolio,
snmp
Oct 22, 2008
M31
Oct 14, 2008
Color balance with EOS 350D
I photographed a white piece of paper in full sunshine, at noon, in raw mode.
I cropped the center of the image, and developped it in 48 bits. Here are the stats reported by Iris on the center part:
Red: Moyenne : 667.6 Médiane : 671 Sigma : 14.6 Maximun : 742.0 Minimum : 413.0
Green: Moyenne : 1294.5 Médiane : 1310 Sigma : 35.4 Maximun : 1481.0 Minimum : 508.0
Blue: Moyenne : 1106.0 Médiane : 1114 Sigma : 26.0 Maximun : 1245.0 Minimum : 540.0
Taking the median, the RGB adjustments should be:
R: 1.95 (1310 /671)
G: 1
B: 1.18 (1310/1114)
or (reversed, to avoid overflowing on integers):
R: 1
G: 0.51 (671/1310)
B: 0.60 (671/1114)
Oct 13, 2008
To pretrait or not to pretrait, that is the question...
When doing astronomical images, it is sometimes better NOT to do pre-processing. When the number of dark frames is small for example, as it adds more noise to images than it can remove.
Here are some discussions about this.
Here are 2 images, obtained from the same raw pictures: 30 30-seconds images of m31, taken with Canon 85mm f/1.8.
This one has no pre-processing: hot pixels are visible as small red, green and blue strings (click on it to see it larger).
This one had full pre-processing: dark, flats and offset. When viewed full-size, it doesn't have more signal (it probably actually has less), and overall is doesn't look as good. I only had 1 dark frame to use, as well as only 1 offset and 1 flat field.
For comparision, this one has no pre-processing, but only 10 images stacked together (3 times less). The signal/noise ration is clearly less than the first one with 30 images.
Here are some discussions about this.
Here are 2 images, obtained from the same raw pictures: 30 30-seconds images of m31, taken with Canon 85mm f/1.8.
This one has no pre-processing: hot pixels are visible as small red, green and blue strings (click on it to see it larger).
This one had full pre-processing: dark, flats and offset. When viewed full-size, it doesn't have more signal (it probably actually has less), and overall is doesn't look as good. I only had 1 dark frame to use, as well as only 1 offset and 1 flat field.
For comparision, this one has no pre-processing, but only 10 images stacked together (3 times less). The signal/noise ration is clearly less than the first one with 30 images.
Subscribe to:
Posts (Atom)