News for hackers. Stuff that matters.
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @01:08PM (#11870709)
Well, since I worked on the team moving NeXTstep to the i386 family at NeXT, I can say with certainty that Linux played no role at all. We had copies of ATT UNIX and BSD UNIX which had portions already running on Intel (so we didn't have to completely reinvent the wheel.) There was some discussion about which UNIX we should be using on Intel in order to move it all to Mach - but the easy path was to build on some earlier work with the existing BSD port to i386 (in particular, memory management had been done in one of the ports, and using that as a starting point was very helpful.) As for GNU - we spent an incredible amount of time fixing bugs in both the C and C++ compilers. Really, GNU wasn't really considered "production worthy" before the NeXT project - and it was more of a toy until we fixed it. Steve was committed to using GNU to try to to compete with Apple based on low cost open source. As a programmer, it wasn't open source that helped us, - we were fixing and helping open source. I've always found it ironic that the open source community ignores the role of the rich and powerful in allowing them to succeed. (Ironically, I was later involved with the team at Oracle that converted Linux from a toy into a functioning kernel. It was missing many system calls and a lot of functionality. Speaking as a kernel engineer, Linux was almost useless. Larry decided to use Linux as a way to price compete against Microsoft - shouldn't be too surprising since Larry and Steve were good friends and shared ideas. I wrote the original white paper for Larry analyzing the state of the Linux kernel.)
Re:We won the battle for Linux, but we're losing the battle ... by ktRolster on Thursday June 09, 2016 @01:19PM (#11870788)
Ironically, I was later involved with the team at Oracle that converted Linux from a toy into a functioning kernel.

Seriously?

Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @02:15PM (#11871224)
It's easy to forget the early days of Linux. If you go back and read the articles of the time they often pointed out that Linux made a good print server. But that was about all it could do - get lpr-style requests and talk to a printer driver. I did a test port of Oracle to Linux and wrote up a white paper for Larry. Larry was trying to figure out how to get Bill to kill important features in SQLServer. So Larry and Scott and IBM and HP had a couple of floors of kernel engineers at Redwood Shores fixing Linux and submitting the changes until Bill agreed to make SQL Server work more poorly stop competing so aggressively. But by that time we had already submitted enough to make Linux into a functioning product.
Re:We won the battle for Linux, but we're losing the battle ... by tobltobs on Thursday June 09, 2016 @05:57PM (#11872687)
> Bill agreed to make SQL Server work more poorly stop competing so aggressively.

I might have been living under a rock and everybody but me already heard about this story. But I would expect that every HN reader would drop his coffee cup reading this for the first time.

Is this true? Why had I never heard about it? Why should Bill do that?

Re:We won the battle for Linux, but we're losing the battle ... by moonfern on Thursday June 09, 2016 @07:33PM (#11873181)
There's a post on lwn.net from April 2, 2001 about the Linux 2.5 kernel summit:

https://lwn.net/2001/features/KernelSummit/

From that article: " The first presentation was by Lance Larsh of Oracle who, essentially, provided a laundry list of changes and features Oracle would like to see in order to get better performance out of high-end, large database servers "

...bullet list...

" The reception was "generally" positive - many or most of the above problems are well known and on the list to be fixed in 2.5 already. One exception was the non-preemption request, which was considered dangerous and unnecessary. "

J. Corbet is the author.

Re:We won the battle for Linux, but we're losing the battle ... by varjag on Thursday June 09, 2016 @02:26PM (#11871305)
Curious what other things, aside from GNU and Linux, you fixed in passing on your corporate assignments.
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @02:47PM (#11871448)
I'm just a geek who grew up in Silicon Valley. I soldered and wire wrapped chips I picked up from Haltek/Halted and the sales offices of local chip manufacturers, and taught myself programming using switches to enter binary codes (before I bought a broken teletype and fixed it - paper tape was a huge improvement after using switches to program.)
Re:We won the battle for Linux, but we're losing the battle ... by nikanj on Thursday June 09, 2016 @02:42PM (#11871424)
I'm super curious about this. When was this, mid-90s?
Re:We won the battle for Linux, but we're losing the battle ... by ambulancechaser on Thursday June 09, 2016 @06:07PM (#11872740)
I'm not sure that I see the connection between Linux at Oracle and the group of "Larry, Scott, IBM and HP" wanting Bill Gates to neuter SqlServer. Could you explain in more detail? This whole saga is fascinating, especially since I've come from a generation where Linux has such a connotation of quality.
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @06:39PM (#11872900)
Yeah, I guess the connection isn't obvious. Bill had decided to start competing in the SQL space. He announced a bunch of features that matched Oracle's enterprise features 1:1 and promised to make SQLServer scalable and supported by a big consulting force. So Larry met with Scott/HP/IBM and to move forward with a "low cost linux appliance" with software to compete in the various segments of the PC space - they would almost give the whole thing away for free. Larry met with Bill with a list of demands in exchange for killing the project. It took a series of several meetings. I don't know the specifics asked by IBM/HP/Sun, since I only heard the Oracle side of the story. I believe we had, at one point, 200 engineers from those companies there at Oracle HQ making Linux work. I know that we flew in Linus to explain to him some of the changes (since they were enterprise kernel features that he had no background with) - and he green-lighted the changes (they really just matched what was already in the UNIX kernels from HP/IBM and others.)
Re:We won the battle for Linux, but we're losing the battle ... by tobltobs on Thursday June 09, 2016 @07:10PM (#11873078)
I can remember those "Built a print server with Linux" times. But I did have the impression that MS really didn't take Linux as a serious contender, not even as a server OS. Was I wrong believing that?
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @07:36PM (#11873196)
I knew OS people from NeXT, Microsoft, and several other companies at the time. None of us took Linux too seriously - it was too unreliable and too immature. But by the time that Oracle got it fixed (and IBM "took over" Red Hat to roll out the "new" Linux), it was a real product.
Re:We won the battle for Linux, but we're losing the battle ... by patates on Thursday June 09, 2016 @02:50PM (#11871464)
well, it probably saved some lives by telling people that their printer was on fire
Re:We won the battle for Linux, but we're losing the battle ... by kazinator on Thursday June 09, 2016 @01:42PM (#11870961)
In 1994 I did contract work for a serious businesses that ran commercial pay-for-click information website that ran fabulously on Linux, 1.2.x kernels.

Since I first started using Linux in 1993 (0.99 patch level 12), it has always been a functioning kernel.

Re:We won the battle for Linux, but we're losing the battle ... by feld on Thursday June 09, 2016 @03:02PM (#11871528)
Anyone can write a functioning kernel. The question is if it provides all the functionality required to run complex modern software -- especially big databases, which was pretty much your defacto benchmark back then.

"Linux doesn't provide these syscalls or anything comparable" might mean you go from "runs reasonably well" to "can't run on this hardware at all because the kernel doesn't know how to do these tricks with memory, etc"

Re:We won the battle for Linux, but we're losing the battle ... by varjag on Thursday June 09, 2016 @03:27PM (#11871685)
I personally know at least a dozen Linux kernel contributors. Some of them are among the most competent, prolific and enthusiastic developers out there who would code until their fingertips bleed. Most work or worked at the usual suspects, yes, including Oracle.

It's the first time however I hear anyone claiming as much credit. Oracle didn't even start dabbling with Linux until 21st century, and it was already a decade old project dominating Internet server deployments at that point.

Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @07:41PM (#11873221)
It certainly wasn't my intent to criticize any Linux contributor. I think that there are a lot of people doing the right things for the right reasons. They do that work in a social context, though. And I think that we need to understand how our society really works in order to make the right decisions moving forward.
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @03:32PM (#11871718)
Exactly. When I started doing the port of Oracle to Linux I had been reading the newsgroups - and they had been claiming POSIX compatibility. But system calls were missing many options, and entire sections of library code were missing. I'd run POSIX compatibility testing, so I knew that something didn't make sense. I kept posting to the news groups - mentioning that I was trying to port some software and hoping that they would notice my Oracle email address and take me seriously. Eventually, after trying several branches, somebody admitted that they had never actually run the POSIX suite, since it was too expensive. As long as you only wanted to do simple programs, Linux was fine. It was nowhere near being able to run Oracle, and it was nowhere near being able to run it well (with any of the then-modern features such as async I/O or direct memory paths or scheduling for long runnning processes or efficient large memory allocations.) It was a toy.
Re:We won the battle for Linux, but we're losing the battle ... by jacquesm on Thursday June 09, 2016 @04:50PM (#11872280)
I'm with you on the facts, but it was anything but a toy. Minix was a toy, linux allowed a whole raft of useful applications to be run on PCs that would have otherwise required a large investment in hardware.

Linux would have succeeded with or without Oracle, and I find it sad that you would try to re-write history to the point where it would seem that without Oracle linux would have remained a toy.

Re:We won the battle for Linux, but we're losing the battle ... by corysama on Thursday June 09, 2016 @11:40PM (#11874148)
> Linux would have succeeded with or without Oracle, and I find it sad that you would try to re-write history to the point where it would seem that without Oracle linux would have remained a toy.

Ehhh... I don't see where he claimed anything about that. I see "Linux was a toy. Oracle helped make it not a toy." But, nothing about what would have happened otherwise. Be careful not to get sad over things not said. Principle of Charity and all that...

Re:We won the battle for Linux, but we're losing the battle ... by kazinator on Thursday June 09, 2016 @11:49PM (#11874172)
Some circuit board with 64 kilobytes of RAM sent on a mission to Mars can be a "non toy".

Toy: for amusement or education of creator.

Non-toy: implements real requirement for some task.

For instance, 80 bytes of machine code which pop out a piece of bread when it toasts to a certain darkness level: non-toy.

Re:We won the battle for Linux, but we're losing the battle ... by kazinator on Thursday June 09, 2016 @07:59PM (#11873297)
Exposing async I/O is largely a trivial hack, if the filesystem is already asynchronous under the hood, allowing I/O to proceed in parallel with computation. It's mostly about separating the request placement for I/O from being notified about completion or optionally waiting. The wherewithal to cob together this sort of mousetrap was in the Linux kernel since the early dawn, pretty much.

1990 POSIX didn't have aio_read and all that; it came later. A lot of this stuff was being standardized in parallel with the progress being made in Linux. According to the 1997 Single Unix Spec (Issue 2), the aio stuff came from the 1993 real-time extensions to POSIX. [http://pubs.opengroup.org/onlinepubs/007908799/xsh/aio_read....] "Derived from the POSIX Realtime Extension (1003.1b-1993/1003.1i-1995)". This was bleeding edge POSIX in the mid 1990's, and didn't exist when Torvalds started.

The performance optimization requirements of large databases aren't the be-all and end-all of "non-toyness", anyway.

The Linux people were decent at optimizing for the cases that their user base cared about. E.g. Linux exploded as a web server OS all over the world, so there was a lot of focus on decent networking, and tricks like serving a static file right out of the kernel and whatnot.

Re:We won the battle for Linux, but we're losing the battle ... by YeGoblynQueenne on Thursday June 09, 2016 @06:36PM (#11872890)
>> I kept posting to the news groups

Which news groups were those? They (and your posts) should still be around somewhere.

Re:We won the battle for Linux, but we're losing the battle ... by jacquesm on Sunday June 12, 2016 @09:11AM (#11887936)
I've found one post in comp.linux.os.development.
Re:We won the battle for Linux, but we're losing the battle ... by bifrost on Thursday June 09, 2016 @03:27PM (#11871690)
Thats pretty relative to be honest. I remember using a variety of Linuxes back then and being pretty unhappy with the results. Stability was barely a possibility. Compared to SunOS it was like Windows 3.x
Re:We won the battle for Linux, but we're losing the battle ... by vidarh on Thursday June 09, 2016 @03:35PM (#11871741)
I had a bunch of Linux servers in the mid 90's that we only rebooted once in 3 years, because of an office move. I'm sure there were ways of making Linux crash back then, but stability was easy as long as you got hardware that was known to work.
Re:We won the battle for Linux, but we're losing the battle ... by k__ on Thursday June 09, 2016 @01:26PM (#11870852)
so full of himself...
Re:We won the battle for Linux, but we're losing the battle ... by YeGoblynQueenne on Thursday June 09, 2016 @06:25PM (#11872833)
>> I've always found it ironic that the open source community ignores the role of the rich and powerful in allowing them to succeed.

I don't think anyone ignores anything, it's more like the OSS community (of which I'm not a part, btw) simply doesn't feel that their freedom is a good price to pay for - anything, really.

Also, to be fair, the "rich and powerful" mostly get into peoples' way when we try to live our lives in a meaningful way, and that includes OSS folk, who just like to write and exchange software. If the "rich and powerful" decide to patent everything, which is the real sticking point for the OSS community, then the OSS folk have no toys to play with.

Understandably, they are not happy with that.

Re:We won the battle for Linux, but we're losing the battle ... by visitor2035 on Friday June 10, 2016 @10:48AM (#11876701)
I visited the NeXT factory in Fremont when it was making cubes. For fairly obvious reasons at UCB Sun workstations were everywhere. I was asked by some of the people giving the tour what it would take to get departments to go with their boxes. I said access to source was something we had come to expect but it was out of the question.
Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Saturday June 11, 2016 @02:19PM (#11884588)
Yeah, that factory sure was impressive, wasn't it? I would sometimes go out of my way just to visit - hoping that they were running (it took a long time to get it started, and after that it took a long time to get it stable. Really, it was Sony and their manufacturing expertise that finally got us working.) I remember sitting up in the "control room" while they used the GUI to directly control the robots on the factory floor - watching the robots move in the dimly lit factory. It may be common now, but at the time that was "state of the art".
Re:We won the battle for Linux, but we're losing the battle ... by vidoc on Thursday June 09, 2016 @01:35PM (#11870915)
> I wrote the original white paper for Larry analyzing the state of the Linux kernel.

Would you mind sharing a link by any chance?

Re:We won the battle for Linux, but we're losing the battle ... by MrTonyD on Thursday June 09, 2016 @02:17PM (#11871244)
At the time it didn't seem like anything significant - nobody really wanted to do a Linux port of Oracle. But I did a test port and wrote up the many missing system calls and many incomplete system calls and many missing library implementations. Larry read it and I didn't really think about it again. Guess I should have saved a copy. And this was definitely an internal white paper - not something for circulation.
Re:We won the battle for Linux, but we're losing the battle ... by johnsu on Friday June 10, 2016 @12:11AM (#11874238)
"open source" didn't exist during the time period you're talking about.
Re:We won the battle for Linux, but we're losing the battle ... by microDude on Thursday June 09, 2016 @07:03PM (#11873031)
You sir, have some interesting stories to tell.
Re:We won the battle for Linux, but we're losing the battle ... by scrollaway on Thursday June 09, 2016 @11:36PM (#11874122)
After browsing that user's comment history, it certainly seems like he's trying very hard to have some interesting stories to tell. Make of that what you will.
Re:We won the battle for Linux, but we're losing the battle ... by pasxizeis on Friday June 10, 2016 @12:47AM (#11874358)
I second that.