Skip to contentSkip to conversation

Is this a silly idea?

DISCUSSION Larry McVoy 12 participants 18 messages Jun 11, 1996 – Jun 23, 1997 3 messages not in the archive MIPS

lore
Share & tools
lore
#0 lore raw

: I planned on hacking xfs _and_ efs implementations into Linux.

We will shoot that plan in the head right away. EFS is dead technology and XFS is family jewels. If we start putting XFS into Linux, there will be hell to pay. Besides, XFS is 45K lines of code (probably more now) and it is really non trivial. Porting that to Linux would take quite a while.

I would like to have an XFS port eventually, but we need to figure out a way to keep it SGI source. Last I checked, there was noise that doing stuff as a loadable module was not enough. Any news on that?

I think porting ext2fs to IRIX is a much better idea.

: Also, I wouldn't mind seeing an ext2 implementation in IRIX, I could : probably hack up an initial read-only kernel module implementation in : a very short amount of time.

Please. I have some file system notes somewhere that talk about the data structures needed to do this. James is a good resource, he did cachefs. He's a busy, but nice, guy and he sits near you.

--lm

#2 lore raw
In reply to a message not in the archive

lm is right, we don't want to let the xfs source out; but if we could do just the loadable modules it would show an advantage of mips technology on linux (or is that counter culture, sigh).

-d

Signature · 3 lines
 -------------------------------------------------------------------------
 Donna Derby Yobs        Silicon Graphics -  NSD         [email protected]
			 Product Marketing
#3 lore raw
Quoted 6 lines

lm is right, we don't want to let the xfs source out; but if we could do just the loadable modules it would show an advantage of mips technology on linux (or is that counter culture, sigh).

Donna,

I think this is a good realistic compromise that can be accepted both by SGI and the Linux community.

On the way to "world domination now" (as Linus puts it), Linux enthusiasts must learn how to realistically compromise here and there.

Think of it: a much more significant "compromise" is to support the Windows API via WINE etc. rather than trying to force the Unix APIs upon the rest of the software-developers-world and lose.

With clever compromises that the commercial world can accept and by keeping the vast majority of the value under the GPL, Linux will gradually get where Linus (and some of the rest of us :-) want it to be.

Signature · 1 line
Peace, Ariel
#4 lore raw

Re: Linux: the next step

In reply to a message not in the archive
Quoted 3 lines · lm@gate1-neteng (Larry McVoy) writes:

The fine grained locking is a lose. It costs us way too much and what I am seeing is a trend backwards towards coarser grained locking. If this wasn't true, why did we build lego? Why are we building Nexus?

I'd like to see some hard numbers for these assertions. All of the bottlenecks in ficus (that I am aware of) have to do with context-switching due to use of mutexes rather than spinlocks. The locking overhead itself isn't even on the map as far as I can tell.

However, I agree that more locking is not the answer. Eliminating as much shared, global data as possible is the answer. Nexus doesn't really do anything towards that end that I can see.

Quoted 7 lines

Linux already has a RT kernel. I just reviewed a fantastic Usenix paper that added RT to Linux - fully preemptable, hard real time to < 100 usecs, and less than 3K lines of code change. Their test case was a 100Khz clock pulse on a parallel port; they got it every time, with less than 15usecs skew, while the system was tar-ing one file system to another, running netscape, and generally doing same old Unix stuff just like normal. It's really impressive and very uninvasive.

I'd like to see that when it comes out.

Quoted 5 lines

Finally, think about this: how many times have you had a "great idea" for better IRIX performance, gone off an prototyped it, only to find that it makes no difference? Linux lets you test out those ideas and see the real performance difference, unadulterated by any surrounding bloat. That's cool. We want that.

If it makes no difference, what difference does it make what platform you try it on? If it does make a difference, you would be able to measure it despite the underlying bloat, and again the underlying platform makes no difference.

I'm in favor of some amount of Linux work on SGI gear, but this is a pretty weak argument.

-- Steve

#5 lore raw

Re: Linux: the next step

Quoted 3 lines

lm@gate1-neteng (Larry McVoy) writes:
The fine grained locking is a lose. It costs us way too much and what I am seeing is a trend backwards towards coarser grained locking...

In message <[email protected]> you write:

Quoted 4 lines

I'd like to see some hard numbers for these assertions. All of the bottlenecks in ficus (that I am aware of) have to do with context-switching due to use of mutexes rather than spinlocks. The locking overhead itself isn't even on the map as far as I can tell.

If you look at larry's context switch and pipe benchmarks, you'll see that they run much faster on a single CPU than on two or more. A lot of the difference is due to fine-grained locking, which causes more dirty cache lines to thrash than is actually necessary for the operations involved. Pipe communication takes locks at the vnode and inode level. Context switches take locks on threads, accounting structures, and queues.

It all adds up.

Quoted 3 lines

If it makes no difference, what difference does it make what platform you try it on? If it does make a difference, you would be able to measure it despite the underlying bloat, and again the underlying platform makes no difference.

Back to the previous discussion. Getting rid of any one of those locks wouldn't make much difference. Getting rid of all of them would, but is a much taller order.

--bob--

#6 lore raw

Re: Linux: the next step

In reply to a message not in the archive
Quoted 1 line · lm@gate1-neteng (Larry McVoy) writes:

You'll have to borrow my copy, Usenix rejected it. Fuckheads.

No doubt to make room for some paper on TCL scripts or something. Feh. Yeah, if you can make me a copy or convince the authors to send me one I'd appreciate it.

Quoted 4 lines

A more concrete example: IRIX syscall entry is something like 15-30 usecs, if I remember correctly. On Linux, it's about .5 - 5 usecs. In the Linux world, optimizations that made a 100% difference would be lost in the bloat in IRIX. Does that mean that those optimizations are pointless?

To some degree, yes. This is why application developers often have a lot of platform-specific code; optimizations that work on one system won't necessarily work on all systems. I'm not saying this is good, mind you.

-- Steve

#8 lore raw

Re: Linux: the next step

In reply to a message not in the archive
Quoted 3 lines · Steve Alexander

Subject: Re: Linux: the next step

Quoted 1 line · lm@gate1-neteng (Larry McVoy) writes:

You'll have to borrow my copy, Usenix rejected it. Fuckheads.

No, tell us what you really feel Larry; don't hold back :-)

Quoted 3 lines

No doubt to make room for some paper on TCL scripts or something. Feh. Yeah, if you can make me a copy or convince the authors to send me one I'd appreciate it.

Larry, you might want to make this available to the entire Linux mailing list; I suspect a lot more people would be interested in it. (I am too) Regards,
Sandeep

Quoted 1 line

-- End of excerpt from Steve Alexander

#13 lore raw

Re: Linux: the next step

In reply to Steve Alexander
Quoted 7 lines
Quoted 1 line · lm@gate1-neteng (Larry McVoy) writes:

You'll have to borrow my copy, Usenix rejected it. Fuckheads.

No doubt to make room for some paper on TCL scripts or something. Feh. Yeah, if you can make me a copy or convince the authors to send me one I'd appreciate it.

Now wait a minute here. Read the paper before commenting. They create a "real-time" thread under Linux. That does not mean that it does anything, that the OS has real time support, etc. There was nothing particularly new about what it did. There is now a Linux conference which should showcase this sort of thing. Usenix is for new and interesting work that would be of interest to a large audience.

Quoted 4 lines

-- Steve

------------------------------------------------------------

John E. Schimmel                        [email protected]         
Silicon Graphics Inc.                   Voice: (415)933-4116
http://reality.sgi.com/employees/jes    Fax:   (415)967-8496

------------------------------------------------------------

#14 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 2 lines · Alistair Lambie

The second one should be 'Powered by SGI! Can we get the logo to spin....that would be cool!

I like the first one, myself.

Nothing warms a frosted penguin butt like an R10K.

-- Steve

#15 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 3 lines · Steve Alexander

Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 1 line · Alistair Lambie

The second one should be 'Powered by SGI! Can we get the logo to

spin....that

Quoted 6 lines
Quoted 1 line

would be cool!

I like the first one, myself.

Nothing warms a frosted penguin butt like an R10K.

Maybe we need a version with the penguin in the cage! 'SGI tames Linux'??

Alistair

Signature · 4 lines
Alistair Lambie					    [email protected]
Silicon Graphics New Zealand				  SGI Voicemail: 56791
Level 5, Walsh Wrightson Tower,				    Ph: +64-4-802 1455
94-96 Dixon St, Wellington, NZ			  	   Fax: +64-4-802 1459
#9 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

In reply to a message not in the archive
Quoted 4 lines · Steve Alexander

Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Nothing warms a frosted penguin butt like an R10K.

Gee, and folks say sgi has no marketing slogans

Signature · 4 lines
 -------------------------------------------------------------
 Donna Derby Yobs        		     [email protected]
 WWFS				Silicon Graphics/Cray Research
 415 933 1083				     fax: 415 965 1395
#17 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

In reply to a message not in the archive
Quoted 7 lines · Frank Chism

Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?) Alistair,

The point is that it is a 'free' as in unemcumbered, system.

No cages _please_!

Ahhh...that's it...the penguin pushing the bars of the logo apart and breaking out. Some sort of symbolism of Linux breaking down barriers??

Alistair

Quoted 6 lines

Frank

Quoted 5 lines

From [email protected] Tue May 27 19:41:19 1997
From: "Alistair Lambie" <[email protected]>
Date: Wed, 28 May 1997 14:48:38 +0000
In-Reply-To: Steve Alexander <[email protected]>
"Re: Linux/SGI Logos (was: Re: strace/truss equiv?)" (May 28,

2:47pm)

Quoted 21 lines
Quoted 21 lines

References: <[email protected]>
To: Steve Alexander <[email protected]>
Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?)
Cc: [email protected] (Seth Morabito), [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: [email protected]
Precedence: bulk

Quoted 3 lines · Steve Alexander

Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 1 line · Alistair Lambie

The second one should be 'Powered by SGI! Can we get the logo to

spin....that

Quoted 6 lines
Quoted 1 line

would be cool!

I like the first one, myself.

Nothing warms a frosted penguin butt like an R10K.

Quoted 6 lines
Quoted 6 lines

Maybe we need a version with the penguin in the cage! 'SGI tames Linux'??

Alistair

--
Alistair Lambie

[email protected]

Quoted 1 line
Quoted 1 line

Silicon Graphics New Zealand SGI

Voicemail: 56791

Quoted 1 line
Quoted 1 line

Level 5, Walsh Wrightson Tower, Ph:

+64-4-802 1455

Quoted 1 line
Quoted 1 line

94-96 Dixon St, Wellington, NZ Fax:

+64-4-802 1459

Quoted 2 lines
Quoted 1 line

-- End of excerpt from Frank Chism

Signature · 4 lines
Alistair Lambie					    [email protected]
Silicon Graphics New Zealand				  SGI Voicemail: 56791
Level 5, Walsh Wrightson Tower,				    Ph: +64-4-802 1455
94-96 Dixon St, Wellington, NZ			  	   Fax: +64-4-802 1459
#18 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

In reply to a message not in the archive
Quoted 5 lines

Ahhh...that's it...the penguin pushing the bars of the logo apart and breaking out. Some sort of symbolism of Linux breaking down barriers??

Alistair

Yeah, that's the ticket. Penguin as superhero. I love it!

Frank

#19 lore raw

Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 2 lines · Frank Chism

Subject: Re: Linux/SGI Logos (was: Re: strace/truss equiv?)

Quoted 1 line

Ahhh...that's it...the penguin pushing the bars of the logo apart and

breaking

Quoted 7 lines
Quoted 4 lines

out. Some sort of symbolism of Linux breaking down barriers??

Alistair

Yeah, that's the ticket. Penguin as superhero. I love it!

I can see it...a penguin with a cape with a big S flying out of the 'cage'....di we have an artist out there???

Alistair

Signature · 4 lines
Alistair Lambie					    [email protected]
Silicon Graphics New Zealand				  SGI Voicemail: 56791
Level 5, Walsh Wrightson Tower,				    Ph: +64-4-802 1455
94-96 Dixon St, Wellington, NZ			  	   Fax: +64-4-802 1459
#20 lore raw

Re: Getting X on Linux/SGI

Quoted 4 lines · Christopher W. Carlson

My point was that SGI is into making hardware. That's how it started and that is still its main focus. Yes, it is true that our software is very important because it takes advantage of the proprietary stuff in the hardware, but the main income for SGI is hardware.

How many people buy the hardware and program the bare metal?

Quoted 4 lines

Note in any
press releases and stock holder's documents how much is said about the wonderful software SGI produces (Alias/Wavefront is still a separate entity). You won't find much.

That's a separate issue, which is that very few people here value software. That will probably change with time if the company is going to continue to be successful as the industry shifts.

-- Steve

#10 lore raw

Re: Getting X on Linux/SGI

In reply to a message not in the archive
Quoted 14 lines · Steve Alexander

Subject: Re: Getting X on Linux/SGI

Quoted 4 lines · Christopher W. Carlson

My point was that SGI is into making hardware. That's how it started and that is still its main focus. Yes, it is true that our software is very important because it takes advantage of the proprietary stuff in the hardware, but the main income for SGI is hardware.

How many people buy the hardware and program the bare metal?

Quoted 4 lines

Note in any
press releases and stock holder's documents how much is said about the wonderful software SGI produces (Alias/Wavefront is still a separate entity). You won't find much.

Quoted 6 lines

That's a separate issue, which is that very few people here value software. That will probably change with time if the company is going to continue to be successful as the industry shifts.

-- Steve
-- End of excerpt from Steve Alexander

Ah! That's my point. As a company, the hardware is valued but the software isn't. Just because we *give* software with our hardware doesn't mean that we are a software oriented company. We are definitely hardware oriented.

I've been arguing the point that software is as much of value as hardware for years. Look at Bill Gates! He didn't make it by selling hardware. Unfortunately, I've finally succumbed to the realization that SGI is a hardware company first.

So, if one wants to make any points to upper management, it has to be in terms of "how much hardware are we going to sell?" If developing a really powerful *free* operating system, such as Linux, will sell lots of boxes, you can bet upper management will be interested.

Signature · 11 lines
		Chris Carlson

	+------------------------------------------------------+
	| Also, [email protected]                                |
	|   Work:   (714) 224-4530                             |
	|   Vnet:       6-678-4530     FAX:    (714) 833-9503  |
	|                                                      |
	| Trivia fact: an electroencephalogram shows that a    |
	| human brain and a bowl of quivering lime Jell-O have |
	| the same waves.  [Time Magazine, Mar 17, 1997]       |
	+------------------------------------------------------+
#11 lore raw

Re: Getting X on Linux/SGI

Quoted 7 lines · Christopher W. Carlson

Ah! That's my point. As a company, the hardware is valued but the software isn't. Just because we *give* software with our hardware doesn't mean that we are a software oriented company. We are definitely hardware oriented.

I have to agree with Chris (a rarely do :-). Past behaviour
of SGI has been that of a "HW oriented Systems Vendor". Which does not mean that the SW we ship is not important (to the contrary), but revenue (and profit) come mostly from the sales of HW.

Only recently we seem to have discovered that some of our SW
products make us real profit. Now, should we transform ourselves into a software company? I don't think so. I would like to see us as a solutions provider (HW+base-SW+Added-Value+Support). Long way to go for us.

Quoted 5 lines

I've been arguing the point that software is as much of value as hardware for years. Look at Bill Gates! He didn't make it by selling hardware. Unfortunately, I've finally succumbed to the realization that SGI is a hardware company first.

Of course, he did not make his wealth by giving away the
software :-)

Quoted 6 lines

So, if one wants to make any points to upper management, it has to be in terms of "how much hardware are we going to sell?" If developing a really powerful *free* operating system, such as Linux, will sell lots of boxes, you can bet upper management will be interested.

Yes, the almighty god of the Businesscase :-)

Martin

Signature · 9 lines
+---------------------------------+-----------------------------------+
|Martin Knoblauch                 | Silicon Graphics GmbH             |
|Manager Technical Marketing      | Am Hochacker 3 - Technopark       |
|Silicon Graphics Computer Systems| D-85630 Grasbrunn-Neukeferloh, FRG|
|---------------------------------| Phone: (+int) 89 46108-179 or -0  |
|http://reality.sgi.com/knobi     | Fax:   (+int) 89 46107-179        |
+---------------------------------+-----------------------------------+
|e-mail: <[email protected]>   | VM: 6-333-8197 | M/S: IDE-3150    |
+---------------------------------------------------------------------+
#12 lore raw

Re: Getting X on Linux/SGI

In reply to a message not in the archive
Quoted 8 lines · Steve Alexander

Subject: Re: Getting X on Linux/SGI

Quoted 5 lines · Christopher W. Carlson

Initially, I wouldn't buy an O2 to run Linux, either. But, after a while, I might consider puting Linux on it. If Linux was pretty well tuned (maybe not as well as IRIX but good enough) and I wanted to do some kernel tinkering, you can bet Linux would at least be on a partition.

Quoted 8 lines

Why not just a PC? Cheaper, more expansion, probably better performance for just plain kernel hacking.

Unless you're doing graphics things, there's just no point in having an O2, IMO.

-- Steve
-- End of excerpt from Steve Alexander

Yes, that's why I might want to run Linux on an O2. Since it isn't even an option yet, I'd run IRIX (if I had an O2). Also, if there was some bug in IRIX that kept me from doing something but the bug didn't exist in Linux, I might want to switch. It is far easier (and cheaper) to get a bug fixed in Linux than in IRIX. Especially if you can't afford the maintenance fees.

Signature · 11 lines
		Chris Carlson

	+------------------------------------------------------+
	| Also, [email protected]                                |
	|   Work:   (714) 224-4530                             |
	|   Vnet:       6-678-4530     FAX:    (714) 833-9503  |
	|                                                      |
	| Trivia fact: an electroencephalogram shows that a    |
	| human brain and a bowl of quivering lime Jell-O have |
	| the same waves.  [Time Magazine, Mar 17, 1997]       |
	+------------------------------------------------------+