LibreOffice Calc Set To Get GPU Powered Boost From AMD
darthcamaro writes "We all know that the open source LibreOffice Calc has been slow — forever and a day. That's soon going to change thanks to a major investment made by AMD into the Document Foundation. AMD is helping LibreOffice developers to re-factor Calc to be more performance and to be able to leverage the full power of GPUs and APUs. From the article: '"The reality has been that Calc has not been the fastest spreadsheet in the world," Suse Engineer Michael Meeks admitted. "Quite a large chunk of this refactoring is long overdue, so it's great to have the resources to do the work so that Calc will be a compelling spreadsheet in its own right."'"
Math operations will be accelerated using OpenCL, unit tests are being added for the first time, and the supposedly awful object oriented code is being rewritten with a "modern performance oriented approach."
If your spreadsheet needs a gpu to speed up calculations, you are probably misusing spreadsheets. I know most accountants love the spreadsheet and they make insanely complicated things using spreadsheets pushing it far beyond what these are designed to do. But if you have a spreadsheet that needs this much of cpu time to recompute, you should probably be using a full fledged data base with multiple precomputed indexing.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
Calc is based on object oriented design from 20 years ago when developers thought that a cell should be an object and that creates a huge number of problems around doing things efficiently.
The problem isn't that Calc is object-oriented but was designed such that many things depended on the spreadsheet cell.
Well, there's spam egg sausage and spam, that's not got much spam in it.
If the refactor is done properly I don't think the OpenCL acceleration would be necessary. Heck, 1-2-3 running on a 486 was pretty speedy.
My Other Computer Is A Data General Nova III.
I don't think most people say Calc is just as good as Excel - they say that it is good enough for most people. And that is probably true. I think my boss uses excel for simple formulas and for lists. I use Excel for anything not quite worthy of a Matlab script, so OpenOffice doesn't quite measure up for me but should work fine for my boss.
W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
Actually, the UI for Lotus Improv was quite nice and won some awards.
Its (spiritual) successor, Quantrix Financial Modeler seems to be selling well enough, even w/ a $1,495 price point.
I wish that Flexisheet (an opensource take on this sort of thing) would get more traction.
Sphinx of black quartz, judge my vow.
If your spreadsheet needs a gpu to speed up calculations, you are probably misusing spreadsheets.
Or it just means that you have some pretty complicated calculations. More computing horsepower never hurts.
I know most accountants love the spreadsheet and they make insanely complicated things using spreadsheets pushing it far beyond what these are designed to do.
I happen to be an accountant as well as an engineer. What pray tell do you think spreadsheets were designed to do? (hint - it involves rapid data modeling) They aren't much use if the only problems you solve are toy problems. Plus they require relatively little training to use effectively. Someone can be trained to solve real world problems MUCH easier than with most other tools. Most of the problems I'm asked to solve are ad-hoc investigations into specific questions. I shouldn't need a four year degree on Comp-Sci to accomplish a bit of data modeling.
But if you have a spreadsheet that needs this much of cpu time to recompute, you should probably be using a full fledged data base with multiple precomputed indexing.
I use some rather complicated spreadsheets. A database would be of no advantage whatsoever for 99.9% of what I use a spreadsheet for. Furthermore a database would be a lot slower to develop, harder to update, and require significant user interface development. If I'm crunching sales data or generating financial projections a spreadsheet is almost always the easiest and most useful tool for the job.
Databases come into the picture when: A) other applications need to interface with the data, B) the dataset becomes truly enormous, or C) the number of dimensions in the data exceeds 2 to 3. Sometimes I use databases. Most of the time they would be a waste of money, brains and time. Frequently when I actually need a database I'll create a mock up of the tables and calculations on a spreadsheet first which lets me work out the structure much more easily.
While it is certainly possible to use a spreadsheet inappropriately, a spreadsheet should be able to handle a rather large amount of data and calculations before it chokes.
It's well documented, you can find examples all over google, eg:
http://hints.macworld.com/article.php?story=20111230095628470
Infact there are many people who use libreoffice to open and convert corrupted (or very old) files which are making msoffice crash, libreoffice is far more tolerant of unexpected data in the input files as unexpected data is a given when attempting to reverse engineer undocumented formats.
And to give one personal example, msoffice 97 onwards had a bug in the macro function whereby the line counting function ignored lines with bullet points, so we had an extremely kludgy macro which counted the lines and then iterated through looking for bullet points and increased the line count accordingly... MS decided to fix this particular bug in a "security update" for office 2003, but then reintroduce the bug in 2007... Obviously this kludgy macro catastrophically broke the day that patch got rolled out.
I could understand if it broke going from 2003 to 2007, but not for what is supposed for be a security update to change something like that.
Also even moving files between the exact same patch release of msoffice on different machines can cause problems with formatting, as it reformats depending on available fonts and printer settings.
http://spamdecoy.net - free throwaway anonymous email - avoid spam!
Look at it this way ... the 40-ton truck in your metaphor (Excel or something like it) is provided to everyone in the company from day 1. From the receptionist to the CEO, everyone gets a 40-ton truck. You know that everyone can carry the same stuff in their 40-ton trucks because they are all pretty much the same.
Furthermore, before you even leave highschool, people tech you how to use that 40-ton truck.
Now, imagine that you need to solve a new problem, which is shockingly similar to problems you've already solved.
So you could go through 6 months to a year of fighting to get someone to help you build a station wagon with a baby seat and tinted windows, because the 40-ton truck is overkill. And you need to convince someone help pay for the station wagon since they didn't budget for one of those.
After you've gone through all of that process, the station wagon has never materialized, the cost overruns make it look like you're buying a gold-plated Rolls Royce, but the engine is still a cardboard mock-up, and the people building it for you have forgotten to include headlamps, windshield wipers, turn signals, seatbelts, and a speedometer. But if you will submit a change order to have them build those, you can wait another period of time (and even more money).
Or, you take the 40-ton truck to do what you need, take a little extra time to find a parking spot, and in the end you've got something which covered your needs in a shorter period of time and for no extra costs except your time. You can get to the grocery store and back in a few hours, and you're done.
That is why people use spreadsheets and don't always jump straight for the custom application.
Lost at C:>. Found at C.
Thats not the issue. If your spreadsheet is SO larger that on a MODERN CPU, its slow ... you're doing it wrong.
It is a relatively trivial matter to make calculations on a dataset slow regardless of the tool used. I work with datasets and related calculations all the time that would make for slow calculations if you hand coded them in assembler. The mere fact that it is slow in a spreadsheet as well has nothing inherently to do with it being worked on in a spreadsheet. Now if the spreadsheet can't handle 65K rows by 65K columns then it shouldn't offer that size table as an option. But most can handle datasets that size and larger without too much trouble. For rapid data modeling and ad-hoc analysis a spreadsheet can be pretty hard to beat.
When people go wrong using spreadsheets it's usually one of a few ways. The one I see the most is when they take what should be a prototype analysis and turn it into a production tool. If you need to put a bunch of buttons and other interface tools on a spreadsheet THEN you are doing it wrong. The second is when they try to take analyzed data involving more than 3 dimensions. While it can be done it rarely is a good idea. Another I see is if they try to have more than one person working on the spreadsheet. If the dataset is truly huge or you require multi-user access or you need to interface with other applications then by all means use something other than a spreadsheet.