I've been harping on how I predicted that traditional desktop (Windows dominance) would shrink while mobile marketshare (Linux dominance) would go up and that this is important for us to know so we can focus our education better.
So far this has been me watching the industry and doing a little hocus pocus foretelling of the future based on a lot of data in a lot of areas. Now other analysts are putting the real numbers down. Businessinsider wrote an article about Apple being impacted by Android but there's an interesting graphic in the middle. As you see over the years the Windows/Intel monopoly has had the mass majority marketshare for quite some time but look what it's done in the last couple of years - halved. Also look at the amount Android has made in the exact same time.
At this rate Android may be the majority OS in a couple of years. I don't know if I like that or not since I'm not really an Android fan but it shows that Linux is making massive progress in marketshare because the MARKET is changing. This year will be an interesting one as more mobile Operating Systems enter the fray. With Samsung (who makes 25% of all smartphones) is investing heavily in Tizen, Firefox releases Firefox Mobile, Ubuntu releases Ubuntu Mobile and Jolla brings out SailfishOS (outgrowth of Nokia's Meego) it will be an interesting year. All of these operating systems are Linux. If Android loses marketshare it will be to other versions of Linux.
What I did is to get dconf-editor (I use Ubuntu 12.04; so this is in package dconf-tools ... Chances are the package name is something similar on Fedora?) and then do the following changes to Gnome 3: And in there I disabled / changed:
And then I got myself cairo-dock and there I told the switcher applet how many static workspaces I want. Worked for me.
For font sizes: You need to get gnome-tweak-tool. It does have a setting where it can tweak the fonts and make them smaller. Also the Text scaling factor setting may help there.
As for extensions: I'd recommend these:
- Alternative Status Menu: gives you a "Shutdown" command in the status menu without having to press any extra keys
-"Axe Menu": Gives you a Gnome 2.x style application menu in the upper left corner, just where it used to be for Gnome 2.x
- Drive Menu: Let's you unmount/eject stuff via an "Eject" icon in the upper panel
- Windows Navigator: Let's you use the keyboard when Alt-Tabbing between windows ... I find this useful.
- Workspace Navigator: Let's you use the cursor keys in the Activities overview; this way you're waaaaay faster and switching between desktops is much less of a hassle. I personally find this useful and fail to see why it's not there by default ... Oh well.
You might say I have a long distro history so I'll add my 1.7 cents (it was 2 cents before the recession).
Loved Mandrake until it got buggy.
Mandriva came from Mandrake but never recaptured the glory.
Both had very easy to use but powerful administration tools.
Wonderful menu structure
Excellent hardware discovery. It could load the drivers for your blender if you could plug it in.
Package management from the Gods when mortal man was painting on cave walls.
Why I stopped using them
unstable repositories. Software was constantly broken.
CentOS for servers - it's just the most stable feature rich distro for servers (from the commandline).
SuSe for servers if you insist on using a GUI to manage it. Has the best GUI Server admin tools.
Ubuntu 8.04 - 10.10
Tons of software packages
Gnome2 became usable for bipedal primates with large frontal lobes.
Install process so easy a baby stuck in a mineshaft could do it.
Everything just works and when it stops shaking a rubber chicken seems to help. If it doesn't work on Ubuntu it probably doesn't work on anything that runs Linux including orbiting brain lasers and fembots with a penchant for evil.
Why I'm looking for a replacement
Software packages broken.... sounds familiar.
Got tired of looking at desktop color themes best reserved for a 1970s kitchen with accompanying man cave with wall to wall shag carpet.
Moved to the Unity desktop which is targeted at a branch of hominids possessing much smaller brain functionality that have been extinct for roughly 4 million years. Possibly as a result of a poor market study with limited subject availability to question and those who they could dig up didn't have much to say.
Including the word Ubuntu in my online dating profile has not improved love matches. In addition translating the original Swahili meaning to English only leaves me looking a bit creepy.
Ubuntu sounds like something my kids used to say when they were a year old and needed changed. Looks like it too.
Distributions I'm interested in but haven't made a decision about
Linux Mint DE
Based on Debian so the software packages may actually work
Uses the XFCE desktop so any sane human should feel comfortable with it.
A bit rough
A bit ugly
Linux Mint DE with a port scanner vs. Clint Eastwood with a Bowie knife would be a good fight.
Having the same name as another distribution that has broken packages gives me the shivers.
So far every single package in the repository works. Ex Mandrake developers who must have learned their lesson.
Doesn't talk to me like I'm a baby
Only two packages in the repository.
Just when I learned to pronounce Ubuntu this comes along.
The nice thing about Linux is you can try them all for zero dollars. I think a good practice though is to have a shared network drive where you put all of your stuff so if you choose to wipe out your machine you don't lose anything. Actually this is a good practice on any OS.
n case you've been living under a rock for the past few weeks you'll know that Google released it's Google+ service. Normally I wouldn't take Google too seriously when dealing with social networking because they've been completely unsuccessful in the past (Orkut, Waves, Buzz) and in the latter case the results were disasterous. However, Google+ is a force to be reckoned with. I've been using Google+ along with Facebook for the last week or two to get an idea of how good/bad it is. Here's a few thoughts first.
Looks kind of like Facebook mixed with a 1984 Apple Mac
The people who are on it currently are techies mostly so there's very little of this -
It's very easy to find and add friends
It's got it's tenticles in everything (something FB has just started by allowing you to like things on third party sites)
You can search your posts
I don't see any Notes functionality
There's no game apps (but there's hints of that coming in code)You can add posts from igoogle or gmail
You can drag and drop media on your post box
You can import entire on disk photo albums in one shot
The handling of photos is on a completely different level
There's group video chats
There's outside feeds for your wall
You have complete control over who sees what
I think if you know google products you'll see a lot of integrated code here. Google reader, picassa, google chat, gmail, google search etc...
What's missing in google+
games and apps
direct messages (uses email)
Facebook largely unseated MySpace because of it's numerous apps and games. We'll see how fast Google adds this ability.
The notes will be really easy if they integrate blogger but for me they'd still need to have the same level of access control.
Wall posts, would be easy but I'm not sure they'll do it because it would be difficult to integrate it into their access control system. Currently when you post you get to see which circles (or all) can view the post. If someone else posts on your wall how do you decide this? They'd have to give up some of the access control functionality if they allowed wlal posts unless all wall posts were moderated by the wall owner. For instance someone wants to post on my wall, I'd look at the post and decide which circles get to view it before any could. That would be possible.
Direct messages should probably be handled in chat/mail. It's all starting to blur anyway. In Facebook a message has persistance whereas chat messages disapear as soon as you close the window. Facebook has already started to merge these two things into one although very clumsily. I think I'd rather Google use chat to handle user messages than email since it saves it in your email anyway and has direct delivery if both parties are online.
Design wise I think FB is a bit tighter and more space effecient. I also think that having contrast between sidebars, comments etc.. is a nice thing which Facebook does. Google+ was designed by the same guy who did the Macintosh interface from the 80s and although reviewers have raved about it I think the designer isn't aware that at some point computers started coming with colored monitors standard. Maybe he designed it on an 80s Mac. Here's hoping that Google tightens it up a bit in the future.
Sometimes you are in the trenches and you can't see anything but dirt. On occasion you're allowed to stand on a step ladder to get an idea of where you are. I just got that opportunity yesterday. In the mid 90s I started using Windows as my primary OS, then soon after ran Windows and Linux simultaneously. By 2002 I'd deleted all of my Windows clients and servers and having owned a version of Windows since. However, this is not my entire history in the computing world. Throughout the mid 80s and early 90s I used Amigas (yes, I'm one of those). If you're unaware of what the Amiga is you might want to look it up on wikipedia as they have a decent article on the history and collapse of the Amiga. In short it was created by a small group of geniuses who didn't posses enough capital to go anywhere with it. It was then sold to an incredibly ignorant company - Commodore. Commodore went from being the 10th largest PC company in the world to bankrupt in about 2 years in the early 90s. Then Amiga was sold to a European PC company called Escom who also went bankrupt a couple of years later. Then it was sold again to Gateway 2000 who did next to nothing with it for a few years and in 2000 it was sold again to some investors who created Amiga Inc. No new computers have been released in 15 years and yet people keep paying for this thing and you may be confused as to why. That's understandable so I'll try to explain.
Back in the old Amiga days we knew the value of specialized processors for specialized jobs. The Amiga could do things that computers with 10x the power couldn't do. However when it got to something that it's specialized processors weren't designed for it was slow again. The first time the Intel CPUs added a special processor into the CPU was in the i486 days and that processor was the floating point co-processor. Before the integration floating point math was handled by a special chip on the motherboard or by software routines. The hardware floating point math was somewhere around 20 times faster than in software. Every once in a while Intel and Amd added additional instructions that would speed up some function. Most of these instructions where multimedia related (SSE, 3DNOW) and none of them effected my life any. Fast forward to 2005 or so and we see VIA the underdog in the Intel x86 race add instructions in it's CN400 chipset to speed up encryption algorithms. So for one particular function (AES encryption/decryption) this CPU/chipset combo was blazing fast but for everything else it was still dog slow. Interesting idea but poorly executed perhaps. I did build a mini-ITX router using the VIA chipset. With VIA Padlock providing hardware encryption/decryption it's been great for SSH, OpenSSL and AES disk encryption via Cryptsetup. It however, doesn't make a very fast desktop computer.
Intel has grabbed this idea of hardware AES support and added it to their new CPUs. CPUs that in their own right are fast enough to be useful so I picked up a 2.5 ghz Core i5 system. My main desktop computer is an AMD Phenom II 6 core system at 2.8 ghz which I'll be using as a baseline. It's fairly fast but has no hardware crypt support. I'm going to demonstrate some typical benchmarks to show the general speed of each CPU then focus on the hardware crypt support using OpenSSL, OpenSSH and Cryptsetup.
Before you get all excited because you have a recent Intel CPU and you think it has AES-NI in it you might want to check Intel's beta comparison chart (which seems impossible to find by googling) at http://ark.intel.com/MySearch.aspx?AESTech=true. You can also use this comparison to check other options in the CPU like VT and VT-D. I keep this chart bookmarked before I make any purchases of Intel CPUs otherwise I'd end up with a bunch of stuff I don't want. Do NOT assume anything when dealing with Intel. For instance the Core i5-460 does NOT have AES but the core i5-560 does which sort of makes sense since the i5-560 is a bigger more powerful CPU right (as shown by the bigger model number)? Not necessarily true as seen by a weirder example - the Core i5-650 (AES-NI) and the Core i5-750 (No AES-NI). Why would a more expensive, more powerful CPU with a higher number not include AES-NI? I don't know, ask Intel.
To show the differences between hardware and software encryption I've prepared three computers without hardware crypt support and two that do. The company that started it all was VIA with their padlock instructions in their CN400 chipset so I've included an Epia SP Mini-ITX motherboard sporting a Via C3 at 1.3 Ghz and 1 GB of DDR ram. As a reference I've included a basic MSI Wind netbook with an Intel Atom 230 at 1.6 ghz. I don't expect much of anything out of this dog slow CPU but I think what we'll see is how much encryption impacts it and even though we may choose not to do full disk encryption we may connect to a VPN or log into https websites and feel the pain. The other CPU with hardware encryption instructions is the new Intel Sandy Bridge Core i5-2520 at 2.5 Ghz. This has the aforementioned AES-NI instructions which should speed things up nicely. The Core i5 is a dual core CPU so for contrast I've included an AMD Athlon II X3 - a triple core CPU running at 2.9 Ghz. With another 400 mhz and an additional core this should give the Core i5 some competition. Lastly I've included an AMD Phenom II X6 - a hexacore beast running at 2.8 ghz which through brute force should be able to turn some pretty good numbers.
VIA C3 @ 1333 mhz
1 GB 400 mhz DDR ram
Intel Atom 230 @ 1600 mhz
1 GB DDR2 ram
AMD Athlon II 435 @ 2900 mhz
2 GB ram
Intel Core i5-2520 @ 2500 mhz
8 GB of ram
AMD Phenom II X6 @ 2900 mhz
4 GB of ram
Baseline Benchmarking with Passmark
The first test is a general benchmark to demonstrate the overall performance of the systems. The passmark statistics can be found at http://www.cpubenchmark.net.
The interesting thing to note about this chart is the incredible speed Intel is getting out of each one of it's i5 cores. The Core i5 has 2/3 the performance of the Phenom X6 with 1/3 the cores and at a lower clock speed. This is very impressive. The Athlon II doesn't fare so well against the Core i5 and I think it's safe to say both the Atom and the C3 are dog slow. You don't realize how bad the Atom is until you compare it to a run of the mill desktop CPU and realize it has about 1/10 the power. It has to be noted that the Atom and C3 only have one core but still one core in the Core i5 are 6x times faster than one core in the Atom. Just for kicks I looked up the speed of an ancient AMD Athlon 2600+ from 8 years ago which we wouldn't even think about building a computer out of now it trounces the Atom! The Atom uses less electricity and costs pennies to make which is why it exists.
Our first encryption specific test is using openssl's benchmark argument. I've tested both the aes-128-ecb cipher and the aes-128-cbc ciphers and only posted the results for 8192 Byte blocks.
Woh! Our next to worthless VIA C3 puts a big lump on the Hexacore! In fact the VIA C3 beats the Hexacore in both tests by as much as 50%! The numbers for the VIA C3 are VERY impressive. For a CPU with 1/30th of the power of the Phenom II X6 it's pretty fast for doing this one thing. The Intel Core i5 pulls ahead by a good margin using it's hardware AES-NI instructions which is expected with a 2x - 10x speed improvement over the Hexacore.
Truecrypt 7.0a has support for AES-NI but not for Padlock which shows up in the VIA C3's horrible results. Ten MB/second encryption speed isn't worth anything. I also included results for Twofish with no CPU provides hardware acceleration for which shows the advantages of having hardware crypt support. The Atom is dog slow as we'd expect but almost usable. You could encrypt a USB thumb drive and not notice the impact too much outside of your CPU going to 100% when you write to it.
The Hexacore is about 3x times faster than the X3 which is interesting as it only has twice the number of cores. I can't really explain that one. However the Core i5 pulls ahead by quite a large margin but only because of AES-NI. AES speed is about 2.5x that of the Hexacore which is VERY impressive for a 2 core CPU pulling off 1.9 GB/sec average encryption/decryption speed. However, using twofish as the cipher shows the hexacores muscle and is roughly twice as fast as the Core i5.
Real World Benchmarks
Benchmarks are fun to look at but what we really need is a real world test - although the bars here are not to scale I'm afraid so you'll need to use the numbers. For a real world test I could just encrypt a volume and write to it but the results across this wide range of hardware would be irrelivent because the disk systems and drives themselves are vastly different in speed. So to create a more fair playing field and focus on the encryption abilities I've created a 400 MB ramdisk, then created a file inside and using losetup attached it to a loopback device. Once I have the loopback device I can format or encrypt the device as I please. To limit human error I've created a script named testluks.sh that I used to automate this process on each machine. This script is available in the Bash Downloads section.
The commandline I used to do the actual encryption is as follows
The secure.key file you'll need to create yourself if you want to duplicate this benchmark. You can make a keyfile by reading data out of /dev/urandom. I won't get into how secure this data is here as I'm mainly interested in testing speed. If you want to Cryptsetup or Truecrypt in production you may want to research keyfiles more thoroughly. It should be noted that Truecrypt has a decent keyfile generator.
I found in my research mentions of Padlock needing it's data aligned in order for the hardware encryption to do it's job. I didn't have time to research this but if anyone has an insight I'd like to hear it.
There's a couple of things to note here. The encryption/decryption numbers I got from the software decryptors were rock solid in that they varied very little. The numbers I got from from Core i5 varied by 100 MB/sec and even put encrypted ramdisk speed higher than unencrypted ramdisk speed part of the time. I'm not sure why this variance exists so to get as reliable numbers as possible I ran it a bunch of times and took the average for both encrypted and unencrypted ramdisks. Maybe the variance has to do with immature drivers or possibly even bottlenecks in the CPU that don't always appear. At this point it's just speculation.
The other question these numbers brings up is what happened to Padlock? We can write to our ramdisk at 111 MB/sec but when encrypted we can only write at 31 MB/sec even with hardware encryption? To get some answers I ran some more tests just on the VIA C3 where I stressed the write speeds of the ramdisk, the mounted loopfile in ram and the encrypted loopfile in ram. This shows something very interesting, the C3 doesn't seem to have enough CPU power to handle the overhead of several layers of filesystems and loopbacks. This is a guess of course but you can see that we can write to the ramdisk at 111 MB/sec but to a mounted ext2 formatted file in ramdisk is just 44 MB/sec. We lost 67 MB/sec just in that process so something is a little off. We only lost another 13 MB/sec in the encryption process. I also tested writing to a hard drive partition, a loop device inside a hard drive partition and an encrypted loop device in a hard drive partition. According to hdparm the drive itself can read at about 30 MB/sec so I wasn't expecting too much here. The result was that I can write to the harddrive at 19 MB/sec, to an unencrpyted loopback file on the harddrive at 19 MB/sec and to an encrypted loopback file on the harddrive at 11 MB/sec. It's clear that Padlock works best over a network.
I think the summary here is that VIA did a great job on Padlock and saddled it with a pathetic CPU.
AES-NI rocks but equal results can be had by throwing a lot of horsepower at it. Soon I'll be working on an Intel Hexacore with AES-NI and will be excited to see what kind of numbers I can get out of it. I also think that AMD has no other choice but to jump on the AES bandwagon because Intel is killing them. The AES decrypt speed on Intels Hexacore has been clocked at over 3 GB/sec. I'll be benchmarking one later in the summer.
I'd be interested in playing with the new VIA's new 1.4 Ghz quad core Isaiah chips with Padlock in them. As a general purpose CPU it's posting faster numbers than AMD's new Brazos CPU and I'd bet the AES performance on it is heads above any of the other CPUs. Maybe my mini-ITX router board will get replaced in the near future...