Hello World - Part 2

Hello World!

It’s not the first post here right? That’s why this feels like part 2.

Looking back to 2016

Yesterday, for some strange reason, an email from 2016 from my dear colleague Eoin Brazil came up on my inbox. Looking at it in the evening, it was one of the great emails he used to send with interesting...

Hello World!

Read More

Quick update!

Hello, my dear my friends!

I know it has been so long since my last post on this blog. At least 7 months, which is definitely not good.

But you know, life is life and things happened… This year won’t be on my best years list for sure. There have been ups and downs, but for now the downs are...

Hello, my dear my friends!

Read More

MongoDB on BlueMix

Hi my friends!

For some reasons that I will explain in a future post, I have been looking at MongoDB and I was curious about its availability on BlueMix.

MongoDB on BlueMix? Why not?

The progress of MongoDB in the last few years has been very successful. As a sign of this, it is getting more and more used,...

Hi my friends!

Read More

Running Docker on OS X

Hello my friends!

I know it has been quite a long time since the last entry in here! These have been busy months with travels and changes… more on that in a future post! ;)

Today I want to talk about Docker…

Yes, probably most of you are already aware of it. And fewer maybe already did something with it....

Hello my friends!

Read More

Raspberry Pi 2 is here!

Hello my friends!

Wow, I personally didn’t expect it, but today a new Raspberry Pi has been launched! And no, it’s not just an improvement like the B+ model… this is something more..

Raspberry Pi 2

What is new?

The specifications:

  • 900 MHz quad-core ARM Cortex-A7 CPU
  • 1GB LPDDR2 SDRAM
  • Full compatibility with Raspberry Pi (cases and accesories!)
  • ...

    Hello my friends!

Read More

About Internet of Things, Cloudant and dashDB

Happy New Year my friends!

I hope you all had a relaxing holiday and enjoyed a good time with a lot of FFF moments: Family, Friends and Food (I let you decide the order you prefer!!!)

I am back after a good break and revisiting the blog I know we left this with dashDB. As we head into this new...

Happy New Year my friends!

Read More

How I met dashDB

Good morning my friends! It is cold this time here in Ireland, so I thought about remembering a warmer time, like last month in Las Vegas for the Insight 2014 conference!

I was lucky to attend this conference (and fly over to Las Vegas) and this was a great time and a great opportunity to learn about new products while...

Good morning my friends! It is cold this time here in Ireland, so I thought about remembering a warmer time, like last month in Las Vegas for the Insight 2014 conference!

Read More

How to start using Bluemix?

Hi again my friends!

Two weeks ago I was lucky enough to go back home (@Madrid) for work, and stay there for few days. This was a great experience not just because of being at home and spending some time with my family. Also because of the opportunity to go back to where I started my career in IT some...

Hi again my friends!

Read More

What is Docker and why everyone likes it?

If you are interested in the IT industry, I am pretty sure you heard about Cloud, about virtualization, stacks and similar terminology. If you follow the IT industry, there is a good probability that you may also heard about Docker.

Docker

What is Docker?

What is Docker? From their own definition at https://www.docker.com/company/aboutus/

…Docker is...

If you are interested in the IT industry, I am pretty sure you heard about Cloud, about virtualization, stacks and similar terminology. If you follow the IT industry, there is a good probability that you may also heard about Docker.

Read More

Kids and Code

Hi my friends!

Yesterday I was attending a really cool presentation that wasn’t about the same topics… The topic was something actual, something real, and yes, something in the future…

The topic of this presentation was on kids and code and how can we enable the actual kids to learn not only to program, but also to have fun and...

Hi my friends!

Read More

Create your Professional Journey using Linkedin and Slideshare

Hi my friends!

I hope you are all good and enjoying the last hours of the weekend!

I was having a look on Linkedin and I saw that some of my contacts had this thing from Linkedin and Slideshare that shows your Professional Journey in a very nice visual way.

Basically it is getting the information from your Linkedin profile...

Hi my friends!

Read More

Jolla presents a crowdfunded tablet based on SailfishOS

What a day has been for Jolla! Some days ago a countdown was published on jolla.com for today, at the time Marc Dillon was going to speak at Slush14.

As a Jolla owner since the beginning, and following them since the Nokia N9 with Meego and the N900 with Maemo, I was waiting to see what could they announce.

There...

What a day has been for Jolla! Some days ago a countdown was published on jolla.com for today, at the time Marc Dillon was going to speak at Slush14.

Read More

Using BlueMix for your code and applications

Hi my friends,

Recently I have been working with a new Platform as a Service environment for some of my work related tasks. This new environment was GAed in July 2014 and it is IBM’s BlueMix.

The idea revolution

The idea is that this platform can enable you to develop and build your own ideas into something like...

Hi my friends,

Read More

Using Jekyll

Hi my friends! Recently I have migrated my blog (this one you are reading from Wordpress.com to Jekyll + GitHub pages).

I really like how easy is to modify your content, format or just to publish a new post on the blog. With wordpress.com, one of the problems I had was to find an easy way to elaborate a post...

Hi my friends! Recently I have migrated my blog (this one you are reading from Wordpress.com to Jekyll + GitHub pages).

Read More

New blog up and running using Jekyll

Hey! This is my first post on my new blog running on Jekyll! Let’s see if this is better than Wordpress.

jekyll

I will migrate soon my older posts from http://sisteming.wordpress.com to this new blog. Stay tuned! ;)

Hey! This is my first post on my new blog running on Jekyll! Let’s see if this is better than Wordpress.

Read More

Migrating from Wordpress to Jekyll

Untitled Blog Post Name

Hi everyone!

I am looking at how to migrate my blog to Jekyll.

It looks like an easier and more agile alternative to wordpress, based on Markdown.

Apparently, you can use github pages for your blog (for free), and then you can just synchronize your local copy using git.

...

Untitled Blog Post Name

Hi everyone!

I am looking at how to migrate my blog to Jekyll.

It looks like an easier and more agile alternative to wordpress, based on Markdown.

Apparently, you can use github pages for your blog (for free), and then you can just synchronize your local copy using git.

The idea is that you only need to care about the content, and not that much about plugins and other elements.

I will let you know how it goes, in the mean time, here are some useful links:

Read More

Wordpress.com blogging tools

Hi!

I know my blog has not been so in use since 2012… But recently I have been thinking about trying to write more on it.

One of the problems I had was that the interface on wordpress.com to edit / publish new posts is not so useful or simple, at...

Hi!

I know my blog has not been so in use since 2012… But recently I have been thinking about trying to write more on it.

One of the problems I had was that the interface on wordpress.com to edit / publish new posts is not so useful or simple, at least for me. I have been looking for editing tools for blogs and now I have found some interesting options to analyze here:

Mac OS X:

    • PixelPumper (Available on AppStore): http://www.pixelpumper.com

    • Bits (Available on AppStore): http://bitsapp.info
    Linux:
    • Blogilo (KDE)
    I will try them all to see which one is more complete, but for now on Mac OS X PixelPumper seems to be really nice. It has autocorrect options and the interface is easy to use.

    Read More

    Jolla, Sailfish, Blackberry 10.. for a great 2013

    Hello people,

    Most of you already know that there are two companies trying to play a different game, and one of them is a finnish startup from formers exployee from nokia.

    I´m talking about Jolla and also about Blackberry with its Blackberry 10 OS..

    I´ve always have been a fan of linux for the...

    Hello people,

    Most of you already know that there are two companies trying to play a different game, and one of them is a finnish startup from formers exployee from nokia.

    I´m talking about Jolla and also about Blackberry with its Blackberry 10 OS..

    I´ve always have been a fan of linux for the desktop, and I´ve entered the world of mobile phones blogs at the times of Nokia 6600, then with the 6680 and so on... I had of course the nokia n900 with its Maemo OS that was epic for the time, and of course I have the last great nokia, the n9 with its Meego Harmattan OS that after one year continues to receive great reviews or comments.

    I know that both iOS and Android are doing well, but I´m kind of bored to see al that people with iphones or androids out there. I have to admit that I do like new nokia´s lumias, specially the 920, but I think WP8 suffer the same problem of the previouos platforms.

    For me those OS doesn´t offer all the control to the user, and I think an important feature that they haven´t been able to meet until the moment is multitasking, a needed feature at least for me at the time to choose a phone (that should be smart by its name;)).

    I hope we will have more options in 2013 in terms of mobiles OS and I like the idea to have two proper Linux mobile OS, with Blackberry 10 and SailfishOS from Jolla.

    These are some interesting videos of what I´m talking about, if you haven´t already heard of them.

    I can only say... what a nice 2013 we will have in terms of mobile phones :D

    Article about Jolla in Il sole 24 ore:

    http://www.ilsole24ore.com/art/tecnologie/2012-12-07/sailfish-parvenu-sfida-android-174623.shtml?uuid=AbReU69G

    Article on BBC about new Blackberry 10:

    http://www.bbc.co.uk/news/technology-20087221

    [youtube=http://www.youtube.com/watch?v=tRZxM9rNyZ4]

    [youtube=http://www.youtube.com/watch?v=_c_BqnR_vAM]

    [youtube=http://www.youtube.com/watch?v=fg2xZed84Jg]

    Read More

    Oracle Database Silent Installation

    Hi all!

    Last weeks have been a little busy, and from several tasks I had to do, there was an Oracle Database installation.

    There was a funny discussion about the version to install, where people recommended installing 10g only because was the version they worked with or because the how to they use it's only for 10g.

    At the...

    Hi all!

    Last weeks have been a little busy, and from several tasks I had to do, there was an Oracle Database installation.

    There was a funny discussion about the version to install, where people recommended installing 10g only because was the version they worked with or because the how to they use it's only for 10g.

    At the end, we decided to install last version, 11.2, as the main use for this database would be a huge quantity of data in a data warehouse like use, and I had to install it.

    I thought that it would be easy, as you have the possibility of doing remote X from the server (yes, it was a server so we only had remote access), and you know the most "boring" part of installing Oracle Database it's the steps previous to installation, you know, kernel parameters, directories, users, permissions..

    But when I talked to my colleague and he told me that the server was installed without any X server package, and that they don't install it as a policy, I had to deal with a silent installation using only command line, so after some look on the internet, I found the process really straight forward, and in a few hours I had the software installed, the database created, and both the listener and enterprise manager console configured. And most important thing: the team waiting for the database happy for having it ready! :)

    Ok, you maybe like to know which are the steps or how difficult is an Oracle Database silent installation using response files? You have some examples and templates of response files in the directory response, where you have extracted the database software, so you only need to copy it and modify it to fit your needs.

    Here you are some examples on how my installation went:

    Software installation:

    ./runInstaller -silent \
    -responseFile /home/oracle/install/database/response/db_install.rsp \
    oracle.install.option=INSTALL_DB_SWONLY \
    oracle.install.db.InstallEdition=EE \
    security_updates_via_myoraclesupport=false \
    decline_security_updates=true \
    oracle.install.db.DBA_GROUP=dba \
    oracle.install.db.OPER_GROUP=oper \
    ORACLE_BASE="/oracle/app/oracle" \
    ORACLE_HOME="/oracle/app/oracle/product/11.2.0/dbhome_1"

    When you have your response files ready, you only have to input the previous command, specifying the Oracle BASE and Oracle Home environment variables, and other options as groups or type of Database Installation, from the path when you have the oracle software extracted.

    When it finish the installation, the next step would be configuring the listener for the database. In this case, I used a almost default listener configuration, using the following command.

    netca /silent /responsefile /oracle/netca.rsp

    When your listener is ready, you can create your database with a command like this, when you specify the DB name, in this case TESTDB, the template or model for the new database and other data as the type of storage (Filesystem or ASM) and passwords.

    dbca -silent -createDatabase -gdbName TESTDB -templateName Data_Warehouse.dbc \
    -datafileDestination /oracle/oradata -sysPassword myPWD -systemPassword myPWD
    -storageType FS \

    The most tricky part from the installation was Enterprise Manager or DB console configuration, as it was needed by the team who is going to use the database created.

    It's important to have all Oracle environment variables like ORACLE_HOME, ORACLE_UNQ_NAME or ORACLE_BASE set to ensure that dbconsole configuration would be executed successfully:


    emca dbcontrol db -repos recreate -ORACLE_HOSTNAME gsc-analitics -SID TESTDB -PORT 1521 -ORACLE_HOME $ORACLE_HOME -DBDNMP_PWD sys

    STARTED EMCA at May 17, 2012 12:48:46 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Listener ORACLE_HOME [ /oracle/product/11.2.0/db ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    -----------------------------------------------------------------

    You have specified the following settings

    Database ORACLE_HOME ................ /oracle/product/11.2.0/db

    Local hostname ................ gsc-analitics
    Listener ORACLE_HOME ................ /oracle/product/11.2.0/db
    Listener port number ................ 1521
    Database SID ................ TESTDB
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............

    -----------------------------------------------------------------
    Do you wish to continue? [yes(Y)/no(N)]: Y

    With this simple steps, you have installed your Oracle Database software, created a new database, configured a listener and also Enterprise Manager for the new database.

    And all without using X forwarding, only by command line. In fact, I'll have to think which way yo go for my next Oracle Database installation, as the response files method seems pretty fast, and very useful in case of many or similar database creation / installation.

    I hope this steps would be useful to someone and please feel free to post any comment or improvement! :)

    MB

    Read More

    Low Power Techniques in multicore systems based in ARM architecture (Part III)

    Ok so I promised to show you the test I've done with pandaboard to test CPU HotPlug technique right? So come on... I've talk before about Pandaboard development board, and if you didn't hear about it before, now it's a good time. Pandaboard ships with an OMAP4 4430 chip, with dual core ARM Cortex A9  processor @1GHz, 1 GB low...

    Ok so I promised to show you the test I've done with pandaboard to test CPU HotPlug technique right? So come on... I've talk before about Pandaboard development board, and if you didn't hear about it before, now it's a good time. Pandaboard ships with an OMAP4 4430 chip, with dual core ARM Cortex A9  processor @1GHz, 1 GB low power RAM and Bluetooth 2.1, Ethernet, Wireless, HDMI... as you can see, great connectivity and great details for such a little device.

    Pandaboard development board

    For the tests, I set up two different scenarios, one playing video file on SD card and the good one with  an Apache Web Server on Pandaboard, and running several loads with JMeter to see how it performs. As OS I used Ubuntu 11.04 with kernel 2.6.38-1208-omap4, and to measure the power consumption, I had to use a multimeter (with USB connection, what a great idea!!) because at the moment it seemed impossible to get voltage or power values directly from the board.

    Test Environment with PandaBoard and Digital Multimeter

    Here you can see the results of playing the same video file, using 2 cores and using only 1 core, after having the second core disabled by CPU Hotplug. As you can see, power consumption is lower, but not as much as to prefer to use 1 core instead of two, and specially for playing video.

    Power consumption results for video playing test with 1 and 2 cores

    Maximum Power consumption during video playing

    The next tests are more interesting. These are the tests done with Apache Web Server and JMeter load testbench. In the next images, you can see the power consumption of the Pandaboard using 1 or 2 cores, with different threads values: 5, 10, 25 and 50. Those are threads or connections opened on Apache Web Server. For the application used for the tests, GLPI (www.glpi.org), there was also a MySQL on Pandaboard, but as the configuration was the same for all the tests, the important part is the load behaviour on Apache.

    Jmeter test with 5 threads / connections using 1 and 2 cores

    Jmeter test with 10 threads / connections using 1 and 2 cores

    Jmeter test with 25 threads / connections using 1 and 2 cores

    Jmeter test with 50 threads / connections using 1 and 2 cores

    As you can see in the graphics, using only 1 core power consumption on Pandaboard was near half of the power consumption when using 2 cores, even if for a higher number of threads, HTTP requests delay was higher. After doing this test I reach the following conclusion / question: It's better to do the job with less power but more time, or faster but with more power consumption? When I was thinking about it and about the behaviour or CPU HotPlug, I realized that I could try to use it in a dynamic behaviour, so instead of processing all jobs with 1 or 2 cores, it would be possible to enable or disable the second core of ARM Cortex A9 processor using the system load. With this "dynamic" core management, we can enable the second core when system load is too high for only 1 core, and even if the power consumption would raise, the results of doing this could be interesting. The following test are showing this particular behaviour, and you can see how the yellow line which represents Dynamic Core Management, performs compared to the same system load with 1 and 2 cores.

    Jmeter test with 5 threads / connections using 1 and 2 cores and Dynamic Core Management

    Jmeter test with 10 threads / connections using 1 and 2 cores and Dynamic Core Management

    Jmeter test with 25 threads / connections using 1 and 2 cores and Dynamic Core Management

    Jmeter test with 50 threads / connections using 1 and 2 cores and Dynamic Core Management

    As you can see, using a medium system load, the power consumption obtained using our script for Dynamic Core Management performs as the 1 core execution for lower loads, but as the 2 core execution when system load becomes higher. The benefit here could be in medium or more detailed system loads, when power consumption could be lower then using 2 cores, but with better performance than using only 1 core. In terms of Maximum Power Consumption, you can see how it goes in the four scenarios tested, and is very interesting to see how for the test with a higher number of threads, the use of our script enabling the second core has a higher power consumption than the same case with 2 cores.

    Maximum Power consumption for 5 threads

    Maximum Power consumption for 10 threads

    Maximum Power consumption for 25 threads

    Maximum Power consumption for 50 threads

    After this last result, where power consumption using the script that enables the second core is higher than using 2 cores, I was curious of such behaviour, so I decided to test and measure only the period when CPU Hotplug enables (CPU UP) and disables (CPU Down) the second core. After doing those tests, I realized that as the studies showed, the use of CPU HotPlug technique was not free in terms of power consumption, and here you can see how the power consumption behaves during the process of CPU up and CPU down.

    Maximum Power activating the second core with CPU Hotplug

    Maximum Power disabling the second core with CPU Hotplug

    After all these test and the research done about CPU Hotplug, the conclusion is that could be a interesting technique for embedded devices, when idle time and battery saving are really important (Are you thinking on mobile phones?? Yes, they meet those conditions).

    But for other scenarios this technique is not the best as we have seen, and there are different studies about a "low power scheduler" for ARM multicore systems or similar techniques without the power consumption overhead present in CPU HotPlug activating and disabling the second core. Examples of those techniques are sched_mc and CPU Set developed by Linaro Power Management Working Group.

    The most interesting thing is not only the grow of ARM based systems, and not only on embedded devices, but also how ARM processors performance is increasing thinking also in power management, essential for embedded devices.

    Read More

    Low Power Techniques in multicore systems based in ARM architecture (Part II)

    Hello my friends! :)

    In the previous post I introduced a little the idea about low power techniques in multicore systems based in ARM architecture but, what are those techniques? Well, we can divide them in two groups, those techniques from general Linux power management (and working in actual embedded devices) and those developed and implemented for recent multicore embedded...

    Hello my friends! :)

    In the previous post I introduced a little the idea about low power techniques in multicore systems based in ARM architecture but, what are those techniques? Well, we can divide them in two groups, those techniques from general Linux power management (and working in actual embedded devices) and those developed and implemented for recent multicore embedded devices.

    As Linux Power Management techniques the most relevant are:

    • Suspend and Resume
    • Runtime Power Management
    • CPU Idle
    • Dynamic Frequency and Voltage Scaling
    • Power Management QoS

    Most of them, are really good for classical embedded devices, where there's only one processor or core, but what would happen with those techniques with multicore embedded devices like Pandaboard and its OMAP4 chip?

    The OMAP4 chip is based in two ARM Cortex A9 Processors, so it can balance the use of both CPU to achieve the best performance / power saving ratio:

    Read More

    Low Power Techniques in multicore systems based in ARM architecture (Part I)

    Hi all,

    This is my second post, and as I promised, I'll talk about my Master Thesis about Low Power Techniques in multicore systems based in ARM architecture.

    This thesis was the end of a Master Degree started two years ago, when I became (finally!) a Computer Science Engineer and I was looking for a good job opportunity. As this...

    Hi all,

    This is my second post, and as I promised, I'll talk about my Master Thesis about Low Power Techniques in multicore systems based in ARM architecture.

    This thesis was the end of a Master Degree started two years ago, when I became (finally!) a Computer Science Engineer and I was looking for a good job opportunity. As this opportunity was a little lazy to came, I decided to start a Master Degree, with Embedded and Reconfigurable Systems as mayor and Computer Networks and Technologies as minor specializations.

    I decide to study Embedded Systems because it was the most interesting path for me, and I was a little curious about embedded systems, FPGAs and this kind of devices.

    In the differente subjects we've worked more with VHDL and FPGAs, Xilinx, PowerPC, but most of all related to VHDL - FPGAs. Even if I liked the different subjects and labs, I was more interested in Embedded Linux, so finally, when I had to choose the subject for the thesis, I was sure that Embedded Linux would be a great subject to study. Two main reasons were that I would have to write my thesis while working  in very different area, and so I'll have to write and prepare it by myself at home in my free time.

    During the master degree, I discovered the world of embedded Linux with beagleboard or gumstix, and also played with a beagleboard like board called IGEPv2, based in an OMAP3 chip.

    While I was struggling myself to decide the final subject of the thesis, I suddenly had THE idea: buying a Pandaboard and doing something related with low power and power management in Linux. The pandaboard development board has an OMAP4 chip, with two ARM Cortex A9 processor, so I thought it could be a good idea to study and to do some research about power management on a dual core ARM board.

    Read More

    My first post

    Ok, lets start this...

    How do you start a blog? Hello? Who are talking to in your first blog post?

    I imagine that this can be funny after some time blogging, when you read back your early times blogging.

    Ok, so maybe I can talk about me, or may be better of what I'm doing here right now...

    Its from...

    Ok, lets start this...

    How do you start a blog? Hello? Who are talking to in your first blog post?

    I imagine that this can be funny after some time blogging, when you read back your early times blogging.

    Ok, so maybe I can talk about me, or may be better of what I'm doing here right now...

    Its from several years ago that I'm in the so called blogosphere, but always as a visitor, or at least commenting some posts, thats all.. I always had the idea of writing my own blog, but the problem was the topis to write about.

    One of my proposals for the new year was to create my own blog, and try to write something about the things I like, like mobile phones, Linux, power management, embedded boards like pandaboard, or may be something related to my professional life, like interesting queries or configuration of mysql databases, interesting features or tricks with Oracle ( you know, someone prefere to pay...) or maybe about technologies I never heard before.

    I know it could be difficult to write about this differents subjects, but if this blog would be like my online image, I'm sorry but it is as it is... :)

    Ok, as a first post I think its done. While writing this, I got the subject for my next post, the real first blog post: my recent masther thesis. The subject?

    After the ads ;)

    Read More