Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linux's approaching Achilles' heal

 
Goto page Previous  1, 2
   Soft32 Home -> Linux -> Red Hat RSS
Next:  Does openSuse keep a log of updates?  
Author Message
Fredderic

External


Since: Aug 24, 2007
Posts: 6



(Msg. 16) Posted: Sat Nov 17, 2007 6:47 pm
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: alt>os>linux>redhat, others (more info?)

On Sat, 17 Nov 2007 06:02:02 -0800 (PST),
Evenbit <nbaker2328.DeleteThis@charter.net> wrote:

> On Nov 16, 11:00 pm, Keith Kanios <ke....DeleteThis@kanios.net> wrote:
> <<snipped>>
>> I don't see how "straw man" applies here. I am simply commenting
>> from the appreciation of being a system-level programmer.
> It is obvious that if you are indeed a "system-level programmer" who
> is worth his salt, then you would have _some_ understanding about
> modern memory management issues (it is clear from your responses that
> you do not). When we issue a call to an OS asking for a chunck of
> memory, the OS responds by looking for an area of _contiguous_ free
> memory space of the size that we request. So, you see, it is
> perfectly possible that an attempt to allocate 50Gigs will fail, while
> subsequent calls to the same OS function asking for 10 instances of
> 10Gigs each will succeed.

That's odd... I was under the impression we had this thing called
paging, on modern operating systems. This has two effects; one,
applications are actually allocated memory in complete pages, and
secondly, those pages can reside anywhere in physical ram, and they'll
still appear contiguous to the application.

The only time this might be an issue, is with DMA, where a component
external to the processor (and hence without the benefit of the kernels
page tables) needs to access data across two or more pages.

Mind you, I'm not a systems level programmer either...


>> If one process is hogging all of the physical and swap memory, other
>> processes are being deprived of that memory. Ask Windows users how
>> appreciative it would be to lose one application's worth the data
>> instead of losing all of your data due to the entire system becoming
>> unresponsive.
> Wouldn't the better choice be to not lose ANY data??? Why do Linux
> developers consistantly shoot for standards that are _below_ that of
> Windows developers? Why should end-users tolerate a less-stable
> experience -- especially when Linux-fans consistantly "bill" Linux as
> the better(TM) product??

You, mate, are an ass. Every time I have run out of memory on a
Windoze system, the entire system crashed. My wife who still uses
Windoze will attest to that. All current unsaved data, in all
applications, gets flushed down the drain when not even Ctrl-Alt-Del
will respond, and you have to reach for the power button (because
modern machines don't come with a reset button anymore).

Every time I run out of memory in a Linux system, one application gets
hosed, _usually_ the right one. Though occasionally it's like my GUI
panel or something, which subsequently gets re-started, causing
something else to die instead, and occasionally it'll roll through two
or three unlucky minor apps before it hits the right one. It can also
be a bitch when it's the X-server itself that it decides to kill, but
such is life. I just sit back and watch for a few minutes, after which
I have a system that's at least stable enough to save down anything
that has survived, and either restart the X server myself, or give the
while system a thorough cleanout with a nice soft restart.

It's still a damn sight better than the Windoze way of just locking up
the entire frigging machine, and hosing everything indiscriminately.


>> If the problem is actually with running out of process (virtual)
>> memory, then I can think of more graceful ways to handle such
>> out-of- memory situations.
> This is indeed the issue at hand -- being "more graceful" than killing
> the calling application and preventing any error reports from being
> issued.

The question, is how exactly do you do that, without allocating
additional memory?

Come to think of it, how do you figure out when enough memory is really
enough? My system will quite happily (albeit a little slowly) run with
3-4 times the base memory allocated, as long as no single application
accounts for twice the base memory. In Windoze, it starts to die well
before that.


>> ... instead of Java, C# and garbage collection wiping incompetent
>> asses? It would be appreciated, but highly unrealistic when software
>> is market driven. Quality is no longer a factor, it is just reduced
>> down to time and price.
> This is the very mind-set and attitude which will get Linux labelled a
> "has been" in the OS history books.

But that is the mind-set that exists industry-wide. One only has to
look at Microsoft's business applications, most of which palm off HTTP
and XML as gods gift to software developers. They've rammed their
stock-standard HTTP/XML libraries into places they simply don't fit,
and focused on making the application look pretty so end users will
like it, and not notice the utter shite under the hood. I've seen it
time and time again. Most of the good quality innovative developments
I've seen of late, have come from Linux, not Microsoft.


So I really think you've got your head on backwards, mate. Linux's
achilles heal, if anything, is that fact that it's doing the job
right, rather than cutting corners and building lock-in boxes, in an
attempt to rule the world.


Fredderic
Back to top
Login to vote
Fredderic

External


Since: Aug 24, 2007
Posts: 6



(Msg. 17) Posted: Sat Nov 17, 2007 6:47 pm
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 17 Nov 2007 05:35:24 -0800 (PST),
Evenbit <nbaker2328 RemoveThis @charter.net> wrote:

> On Nov 16, 9:57 pm, Keith Kanios <ke... RemoveThis @kanios.net> wrote:
>> I wouldn't call audio a *critical* system.
> Audio is certainly a critical system for those users who are not
> blessed with the normal human attribute of being 'sighted'. Blind
> people do not depend on either screen graphics or text from a video
> monitor -- they are able to use a PC solely via the audio feedback.
> Why should library developers be granted exclusive permission to
> determine which systems are *critical* and which are not? Shouldn't
> these decision be left for the application programmer to decide?

They're not. Both systems get pretty much the same regard, as far as I
can see. But one would offer the suggested that without sight, there'd
likely be more memory for the audio system. Plus audio generally has a
lower memory footprint, and so short of audio editors and other
high-end music creation software, a simple screen reader is far less
likely to draw the application killers gaze, and far more likely to be
automatically restarted even if it did.

You know, I may have missed part of the thread, but it seems to me that
tugging on the accessibility string really is another step down the
ladder for you.


Fredderic
Back to top
Login to vote
Jerry McBride

External


Since: Nov 15, 2007
Posts: 52



(Msg. 18) Posted: Sun Nov 18, 2007 9:01 am
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

nbaker2328.RemoveThis@charter.net wrote:

> Like a run-away freighttrain, the Open Source Community's "standard
> practice" (_faux peer review_ plus shoddy coding standards and casual
> dismissal of bug reports pointing out critical flaws
> http://pulseaudio.org/ticket/158 ) is exactly the mind-set that will bring
> Linux tumbling down the hill into the valley of the forgotten,
> non-important OSs that "could have been".
>
> It is easy to understand that, given the pressure to maintain a
> 'presence' in the month headlines and the desire to outperform the
> competition in the number of 'features', some amount of short-cuts
> will be taken and code audits being skipped so that the next 'distro
> release' can announce a new fancy gizmo under its wing. *Some* degree
> of this behavior is to be expected in an environment where any "Joe
> Six-pack" can start a project and have his code used by and
> encorporated into other software down the stream. However, I am quite
> shocked that the practice is tolerated to the point that it leads to
> extremely unstable critical support systems as detailed in the
> following forum threads.
>
> http://ubuntuforums.org/showthread.php?t=612606
> http://ubuntuforums.org/showthread.php?t=614962
>
> Nathan.


FUD... FUD... Go away... Come again... Some other day.

If it smells like a troll, looks like a troll and writes like a troll...

IT MUST BE A TROLL.








--

Jerry McBride (jmcbride@mail-on.us)
Back to top
Login to vote
Robert Redelmeier

External


Since: Apr 25, 2004
Posts: 2



(Msg. 19) Posted: Sun Nov 18, 2007 9:56 am
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.lang.asm ray <ray.TakeThisOut@zianet.com> wrote in part:
> On Fri, 16 Nov 2007 18:15:41 -0800, nbaker2328 wrote:
>> Like a run-away freighttrain, the Open Source Community's "standard
>> practice" (_faux peer review_ plus shoddy coding standards and casual
>> dismissal of bug reports pointing out critical flaws http://pulseaudio.org/ticket/158
>> ) is exactly the mind-set that will bring Linux tumbling down the hill
>> into the valley of the forgotten, non-important OSs that "could have been".
>>
>> It is easy to understand that, given the pressure to maintain a
>> 'presence' in the month headlines and the desire to outperform the
>> competition in the number of 'features', some amount of short-cuts will
>> be taken and code audits being skipped so that the next 'distro release'
>> can announce a new fancy gizmo under its wing. *Some* degree of this
>> behavior is to be expected in an environment where any "Joe Six-pack"
>> can start a project and have his code used by and encorporated into
>> other software down the stream. However, I am quite shocked that the
>> practice is tolerated to the point that it leads to extremely unstable
>> critical support systems as detailed in the following forum threads.
>> http://ubuntuforums.org/showthread.php?t=612606
>> http://ubuntuforums.org/showthread.php?t=614962
>> Nathan.
>
> The main problem with your argument being, of course, that Vista
> which was delayed several times and had features thrown out so that
> it could finally come to market, seems to have even more problems.

This is a valid high-level argument: success is much more than
avoiding failure. Even glaring failures can be immaterial.

However, I am reading in ALA where details are very relevant so
I feel compelled to offer some of the many:


1) A Linux distro is _not_ the kernel. distros come and go,
the kernel is eternal Smile

2) Much greater code review has been done for OpenBSD. It has
not lead to run-away success outside of its' domain.

3) Using a desktop/user distro for a "critical support system"
is unlikely to be successful except for "non-traditional"
definitions of "critical"

4) audio might be one of those defininitions

5) not understanding VM_overcommit and the OOM killer certainly
is "non-traditional" wrt "critical".

6) If Nathan or J-G dislike certainly library coding, they are
completely free to change it, forking the project. This is one
of the great strengths of the GPL and Linux. Whining is very
poor form and a waste of effort. Projects propagate based on
user judgement. Not critics and whiners.


-- Robert
Back to top
Login to vote
ray

External


Since: Apr 10, 2007
Posts: 375



(Msg. 20) Posted: Sun Nov 18, 2007 10:15 am
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 18 Nov 2007 15:56:34 +0000, Robert Redelmeier wrote:

> In alt.lang.asm ray <ray RemoveThis @zianet.com> wrote in part:
>> On Fri, 16 Nov 2007 18:15:41 -0800, nbaker2328 wrote:
>>> Like a run-away freighttrain, the Open Source Community's "standard
>>> practice" (_faux peer review_ plus shoddy coding standards and casual
>>> dismissal of bug reports pointing out critical flaws http://pulseaudio.org/ticket/158
>>> ) is exactly the mind-set that will bring Linux tumbling down the hill
>>> into the valley of the forgotten, non-important OSs that "could have been".
>>>
>>> It is easy to understand that, given the pressure to maintain a
>>> 'presence' in the month headlines and the desire to outperform the
>>> competition in the number of 'features', some amount of short-cuts will
>>> be taken and code audits being skipped so that the next 'distro release'
>>> can announce a new fancy gizmo under its wing. *Some* degree of this
>>> behavior is to be expected in an environment where any "Joe Six-pack"
>>> can start a project and have his code used by and encorporated into
>>> other software down the stream. However, I am quite shocked that the
>>> practice is tolerated to the point that it leads to extremely unstable
>>> critical support systems as detailed in the following forum threads.
>>> http://ubuntuforums.org/showthread.php?t=612606
>>> http://ubuntuforums.org/showthread.php?t=614962
>>> Nathan.
>>
>> The main problem with your argument being, of course, that Vista
>> which was delayed several times and had features thrown out so that
>> it could finally come to market, seems to have even more problems.
>
> This is a valid high-level argument: success is much more than
> avoiding failure. Even glaring failures can be immaterial.
>
> However, I am reading in ALA where details are very relevant so
> I feel compelled to offer some of the many:
>
>
> 1) A Linux distro is _not_ the kernel. distros come and go,
> the kernel is eternal Smile
>
> 2) Much greater code review has been done for OpenBSD. It has
> not lead to run-away success outside of its' domain.
>
> 3) Using a desktop/user distro for a "critical support system"
> is unlikely to be successful except for "non-traditional"
> definitions of "critical"

Would a real time monitoring system in a major DOD test and evaluation
environment qualify? I think so. And the ones I was familiar with before I
retired three years ago relied on Unix and Linux.


>
> 4) audio might be one of those defininitions
>
> 5) not understanding VM_overcommit and the OOM killer certainly
> is "non-traditional" wrt "critical".
>
> 6) If Nathan or J-G dislike certainly library coding, they are
> completely free to change it, forking the project. This is one
> of the great strengths of the GPL and Linux. Whining is very
> poor form and a waste of effort. Projects propagate based on
> user judgement. Not critics and whiners.
>
>
> -- Robert
Back to top
Login to vote
Joe

External


Since: Sep 15, 2003
Posts: 2



(Msg. 21) Posted: Sun Nov 18, 2007 11:06 am
Post subject: Re: Linux long term survivability, was Re: Linux's approaching Achilles' [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rod Pemberton wrote:
> "Dan Espen" <daneNO.DeleteThis@MORE.mk.SPAMtelcordia.com> wrote in message
> news:ic8x4xa708.fsf@mk.telcordia.com...
>> nbaker2328.DeleteThis@charter.net writes:
>>
>
> Sigh, had to go to Google to read the other six posts that didn't propagate
> well...
>
>>> Like a run-away freighttrain, the Open Source Community's "standard
>>> practice" (_faux peer review_ plus shoddy coding standards and casual
>>> dismissal of bug reports pointing out critical flaws
> http://pulseaudio.org/ticket/158
>>> ) is exactly the mind-set that will bring Linux tumbling down the hill
>>> into the valley of the forgotten, non-important OSs that "could have
>>> been".
>>>
>
> Although I strongly believe there are reasons to support the claim that
> Linux is or will be "tumbling down the hill into the valley of the
> forgotten, non-important OSs that 'could have been'," I don't believe the
> issue is the mindset of Linux coders, their standards, their failure to fix
> bugs, or even other issues such as reversion of prior bug fixes or
> filesystem problems...
>
> The real primary issue is money. Can Linux survive long term against a
> company with billions in financial and physical capital, licensed and
> proprietary software patents, driven programmers who are _paid_ to program
> for a living, and an endless supply of software drivers written for their
> OS's API by hardware manufacturers. Secondary issues include software
> development time for new PC hardware or circuitry and the far above average
> intellect of "their" large paid programmer base versus the average IQ,
> skill, and time constraints of many unpaid "Joe Six-pack" 's. I see Linux
> running into a wall due to the rapid continuous changes and advances in PC
> circuitry unless a huge infusion of cash is found.

This has been the situation for the last twenty years. Linux and GNU
were born into and grew up in exactly this environment. If they die now,
it won't be for this reason.

Microsoft certainly has good people working for it. But they are very
closely constrained by the requirement to keep re-selling what is
broadly the same software, and even more so by the importance of
maintaining the near-monopoly. What innovation does occur is almost
entirely aimed at keeping and improving the incompatibility between
Windows and the rest of the IT world, and to some extent even with
earlier Microsoft software. GNU-Linux has no need or use for planned
obsolescence.

One particularly crippling constraint is that much-loved marketing word
'integration'. This means linking together relatively unrelated programs
so tightly that connection with non-Microsoft software is difficult or
impossible. This is the exact opposite of what is probably the single
strongest programming imperative, to isolate sub-programs as much as
possible and to use only well-defined interfaces between them.

A simple example: the Windows Small Business Server contains a POP3
downloader which drops mail straight into Exchange mailboxes, because it
can, and because the suits can then use the 'i' word. The competitive
POP3 download products all deliver to localhost:25 by SMTP, keeping the
interface clean and simple. The result is that the competitors can
utilise a number of Exchange features which the built-in POP3 connector
bypasses. While Microsoft is not a company to be underestimated, it
should not be overestimated either.
Back to top
Login to vote
Robert Redelmeier

External


Since: Apr 25, 2004
Posts: 2



(Msg. 22) Posted: Sun Nov 18, 2007 5:50 pm
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.lang.asm ray <ray.TakeThisOut@zianet.com> wrote in part:
> On Sun, 18 Nov 2007 15:56:34 +0000, Robert Redelmeier wrote:
>> 3) Using a desktop/user distro for a "critical support system"
>> is unlikely to be successful except for "non-traditional"
>> definitions of "critical"
>
> Would a real time monitoring system in a major DOD test and evaluation
> environment qualify? I think so. And the ones I was familiar with
> before I retired three years ago relied on Unix and Linux.

Certainly it would qualify as "critical". And I don't doubt
Unix and other Linux-like systems could pass.

All I'm trying to say is that I doubt an out-of-the-box,
install everything _user_ distro like Ubuntu would pass. Just
think of all the kernel modules. Redhat, Debian, Slackware or
even a correctly stripped Ubuntu would be necessary, preferably
with a kernel customized for the hardware. No X-server, XDM or
other eye candy will necessarily be reliable on all hardware.

-- Robert
Back to top
Login to vote
Evenbit

External


Since: Nov 16, 2007
Posts: 6



(Msg. 23) Posted: Mon Nov 19, 2007 7:34 am
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: alt>os>linux>redhat, others (more info?)

On Nov 18, 12:46 am, Keith Kanios <ke....DeleteThis@kanios.net> wrote:
>
> Ah... theory. Leaves a nice warm feeling, doesn't it?

.... and leads to my trade-mark trait of "going off half-cocked!" Wink

>
> Three potential solutions to fix your unsound comments.
>
> 1) Re-read those books.
> 2) Get more modern/informative books.
> 3) Try a little practical implementation so you can see why it is so
> foolish to back such inconsistent theories or potential
> misunderstandings.

Luckily, just re-reading them was enough to convince me of my error.
My confusion was due to putting too much emphasis on the fact that
blocks always contain pages that are assigned to contiguous regions of
a process' address space. It is true that it is possible to fragment
(make a mess of) the process' address space, but this should only
happen due to extremely bad code or via intentional effort on the part
of the programmer. Even then, I suspect that any "fragmentation wall"
is purely theoretical because your process would be stopped long
before it could be hit.

Also, if you write an application that is extremely memory-hungry, you
need to scrap everything and go back to the flow-charts for an
entirely different design.

Nathan.
Back to top
Login to vote
Keith Kanios

External


Since: Nov 16, 2007
Posts: 5



(Msg. 24) Posted: Tue Nov 20, 2007 12:05 am
Post subject: Re: Linux's approaching Achilles' heal [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 19, 3:34 pm, Evenbit <nbaker2....RemoveThis@charter.net> wrote:
> On Nov 18, 12:46 am, Keith Kanios <ke....RemoveThis@kanios.net> wrote:
>
>
>
> > Ah... theory. Leaves a nice warm feeling, doesn't it?
>
> ... and leads to my trade-mark trait of "going off half-cocked!" Wink

There's nothing to prove around here, only knowledge to gain and
eventually give back.

>
>
> > Three potential solutions to fix your unsound comments.
>
> > 1) Re-read those books.
> > 2) Get more modern/informative books.
> > 3) Try a little practical implementation so you can see why it is so
> > foolish to back such inconsistent theories or potential
> > misunderstandings.
>
> Luckily, just re-reading them was enough to convince me of my error.
> My confusion was due to putting too much emphasis on the fact that
> blocks always contain pages that are assigned to contiguous regions of
> a process' address space. It is true that it is possible to fragment
> (make a mess of) the process' address space, but this should only
> happen due to extremely bad code or via intentional effort on the part
> of the programmer. Even then, I suspect that any "fragmentation wall"
> is purely theoretical because your process would be stopped long
> before it could be hit.
>
> Also, if you write an application that is extremely memory-hungry, you
> need to scrap everything and go back to the flow-charts for an
> entirely different design.
>
> Nathan.

There you go Wink
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Download Linux eBooks for Red Hat Certifications -- Free - [b:eef70ab027]For RHCE, RHCT, RHCA, RHCSS Aspirants [/b:eef70ab027]..

Dovecot question - Hi, I setting up a new mail server with postfix for smtp and dovecot for pop3 on a CentOS 4 machine. Both postfix..

[gentoo-user] / approaching 100% - Hi, I've got a remote Gentoo machine where the root / partition is rapidly approaching 100% accoding to df. How can ...

[gentoo-user] linux-2.6.7-mm7, linux-2.6.8-rc1 and 'make m.. - Hi, installing the kernel from http://www.kernel.org 'make module_installs' copies the kernel modules from..

The Linux Foundation Borrows Novell's Linux CTO for 18 Mon.. - http://www.itjungle.com/tlb/tlb073107-story05.html "Unix operating system and server maker Sun Microsystems stole...

[PATCH] include linux/fs.h in linux/cdev.h for struct inode - --- include/linux/cdev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/cdev.h...
       Soft32 Home -> Linux -> Red Hat All times are: Pacific Time (US & Canada) (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]