Taking a look forward: Linux 2.4 89
A reader sent us the latest story from Joe Pranevich regarding the Linux 2.4 Kernel. Much like his original article on 2.2, he takes a look at what's changing, and what's coming. (Hopefully by this fall. Hopefully).
Re:How about swap/shared memory? (Score:1)
The solution to your problem is to; reduce amount of applications running; increase amount of physical ram on the system; or increase the size of your swap space.
You can even add swap on the fly if necessary as Linux supports swap files. It is done as follows;
'dd if=/dev/zero of=foo-swap-file bs=1024 n=ramsize'
Then as root
'mkswap foo-swap-file'
'swapon foo-swap-file'
and bingo! you have more "ram" to use. It has been done on a system with only 8M ram and more was needed when building some libraries.
I have an only hope: KGI (Score:1)
thats will rules.
Re:Consumer choice (Score:1)
I have no problem with discussions about MS but not on slashdot. Go to microsoft.com or MSDN, I am sure they have press releases. Over here, you are just very delibarately TROLLING.
Re:I'd like to see NFS fixed. (Score:1)
I'll look around for information on this... Alan Cox's diary specified that 2.2.10ac12 didn't have a fix for the NFS lockd problems, but I'm having more than that.
Re:Consumer choice (Score:1)
#2 "Microsoft is not just out to make money. They have done a lot of good things for the PC."
Yeah, we're really thankful for our daily reboots.
#3 "arcane command line strings are NOT the most intuitive way to use a computer"
Ever heard of KDE or Gnome?
As for your other points
So why don't you run along to www.microsoft.com and have a good time, OK?
Re:Newsflash (Score:1)
Re:These faster release cycles (Score:2)
As for major problems creeping in - uh, that's the point of patchlevel releases (as in major.minor.patchlevel). The filesystem corruption - well, as far as I know it's been mainly due to hardware problems, overclocking and faulty ram and the like. In any case, I think I remember Alan saying something about it being fixed.
Companies want to support Linux (with hardware drivers I suppose)? Great! So just submit the GPL'd driver code to Linus or Alan, get it included, and it'll probably be maintained by some people to make sure that it doesn't break with little tiny changes.
Oh, you mean non-Free, proprietary, binary module type support?
In that case, they can say "This module has been tested to work on 2.2.11. If it works on anything else, that's a complete fluke." as Linus has stated, over and over, that he'll not bend over for the companies who are too anal to release their specs or source code. As far as I personally am concerned, they can go straight to hell, because I'm not supporting them by buying their hardware (Creative Labs, are you listening?) unless they release specs (or the driver's source code).
Re:Consumer choice (Score:1)
Re:Consumer choice (Score:1)
Re:Linux 2.4.0 in February 2000 or much later?? (Score:2)
Eh? (Score:1)
2. Where exactly did you see this? I didn't see a note saying "Oh, Linus thought that it would be cool to reroute the network system directly into hardware access."
Giving up privacy and security for entertainment? All that was listed was more soundcard support, better memory allocation for the soundcards, and support for the "DoubleTalk". I didn't see DVD mentioned at all, and I'm curious how improved soundcard drivers contribute to less security.
As far as this "If Pranevich is right", and "Mr. Pravenich never once used the words 'privacy,' or 'security,' or 'stability' " angle, may I refer you to the standard disclaimer he posted: " this is a rough draft document, it may be wrong. In fact, it may be very mistaken. It may be choppy, it may have misspelling, it might even break all the syntax rules of the English language. Most certainly it will omit your favorite "pet" change to Linux 2.3 and you may be inclined to send me nasty emails."
I realize you're a newbie, but reading a preliminary list of changes and then extrapolating that everyone working on Linux is omitting things that are in the OS by sheer design doesn't really make sense.
Linux already HAS streams (Score:1)
Please, Please, Please... (Score:2)
John
Re:How about swap/shared memory? (Score:1)
Many Linux applications (Netscape, Kde Window Manager, Gnome, Etc.) allocate memory per application, instead of in blocks for specific purposes within the application. So long as the
application remains open, memory is not freed. This is not a "leak" because memory is released from swap and elsewhere when the entire *application* is closed. With Gnome and Kde it involves a whole subsystem of applications that share memory.
For example, large apps like Netscape and Kde Filemanager (when used for web browsing) do not free memory allocated for web pages which have long since been swapped out, until you close Netscape or Kde. Only a small percentage is released in closing a web page. Most remains in the swap, which grows steadily in time even though you close apps and essentially have less memory in use than when you started X with perhaps an xterm and one filemanager window open. The swap continues to grow as one uses such applications, and eventually no matter how much physical ram and hard disk one has he will run out of memory, even if one is very careful in having only a little memory *IN USE* at a time. The stupid swap continues to hoard memory that was allocated long ago but was never freed by the app in question, which should have done so immediately after that memory was no longer needed instead of waiting for the entire app to close (or in many cases, for X to close). I would call that a severe design which Linux fanatics don't want to talk about or acknowledge.
Instead, it is easier to give lectures to newbies like they are too stupid to realize that there is only a certain amount of memory (physical plus virtual - swap). They know that and do try to keep memory in use to minimum but that does no good given enough time. Even a few hours of heavy
web browsing, even if only one page is open at a time, is enough to bring Linux to a grinding halt.
The workaround is to close the application and restart it (in the case of Netscape) but one can't do that with Kde if one is using Kde as the desktop shell and even with apps that aren't the desktop shell one must exit X (shut it down) because X itself hoards much of that memory, since it is the parent of these apps. Why that should be I don't understand but I can assure you that it is the case.
This means that running Kde for more than a few days if one is using the desktop heavily is iffy. When the swap gets huge, it even often becomes impossible to shut down. The application tries to fee memory buried deep in the swap and can't. Gnome is even worse because it allocates 32 megs of ram right away with *no* apps running (except a Window manager), when using Gnome-Session.
These are design flaws, partly in the apps and partly in the way Linux allocates and frees memory. X may be to blame, also. I suspect that people who run server functions from Linux boxes start the server processes from a regular terminal and not from an X session.
Re:Windows 2000 (Score:1)
Re:When do we get an IP stack rewrite? (Score:1)
But it can still be shown that on a uni-processor machine with only one NIC Linux's IP stack is faster than BSD.
Iggy
The change to 2.4 may be harder then 2.0 -> 2.2 (Score:1)
Re:Windows 2000 (Score:1)
Who said I was advocating Linux, responsibly or otherwise?
That wasn't senseless Microsoft bashing, that was humourous Microsoft bashing, wherein I turned a troll's words against him/her.
I assume you aren't the same AC as the troll,but you really should have indicated so.
Releases (Score:1)
Well, if you're having a problem with the way kernels are being released now, just wait a while until you "know" that the wrinkles you're concerned wth are ironed out, and then get the new release.. it's that easy.
Re:Consumer choice (Score:1)
I'm actually saddened by the linux community. THe whole spirit of "Free software! Free speech!"is darkened by the "You use microsoft? hahaha, loser!" mentality. Last I checked, Slashdot wasnt a linux only website. Its dominated by linux users, but most of you probably havent even see win2k, and you're already judging. As a matter of fact, I've ran win9x boxes for over a week without BSOD or crashes. THe only problem was programs that like to not give back memory.
I dont consider myself a member of this linux community because I'd be ashamed to be. The constant microsoft bashing is what's childish, not posting about win2k on a message board.
Oh, and my wishlist for kernel 2.4?
USB networking, better Video Capture support, and a better TCP/IP stack.
/me hugs his Linux box and win2k box
Re:2.4? (Score:1)
A quick reply.. (Score:1)
Re:2.3 (Score:1)
2.3 is alive and kicking.
A quick question... (Score:2)
USB! USB! (Score:1)
Only one question remains: Can I use the strawberry mouse and EmulateTwoButtons?
Re:DVD Support? (Score:3)
Take a look at Linux and DVDs [rpi.edu] for more information...
Re:2.4? (Score:1)
2.3 is the development version that will become 2.4; all versions where the middle number is odd are development versions (like 2.1). If you're feeling very brave and have backups, you can download 2.3 from the usual places [kernel.org] and play with it. Don't be surprised if it eats your filesystems, pets, grandparents, etc., though.
Re:A quick question... (Score:1)
DVD Support? (Score:3)
------------------
Re:When do we get an IP stack rewrite? (Score:2)
Re:When do we get an IP stack rewrite? (Score:1)
Check out the Lance Armstrong Foundation [laf.org]
These faster release cycles (Score:2)
Let's say we get clever and start releasing new 2.x versions every 6 months or so. As we do this and as more and more features get added the chance of some serious problem creaping in becomes more and more likely.
Case in point the file system corruption problem that occures in 2.2.10. Maybe the latest prepatch has fixed this.
The other problem I forsee is that having too many major releases of stable kernels, 2.0,2.2,2.4 etc will make it harder for outside companies to support. That is when they're released within a short period of time.
What I personally would like to see is a release cycle with atleast 1 year between releases. This would give more time to iron out wrinkles.
Shawn
Re:Consumer choice (Score:1)
Re:Consumer choice (Score:1)
This always seem to work. Once in awhile I will have to install some dev libs or such, but that is no big deal.
How about swap/shared memory? (Score:1)
Re:How about swap/shared memory? (Score:1)
how in heavens do you expect an OS to prevent memory leaks in apps?
You're right that linux get's in knots when ram+swap is exhausted, but you can prevent that from ever happening by setting limits, check out
good admin is the key...
Prediction (Score:2)
Linux seems to follow the Microsoft release pattern: add six months to the predicted release date. Then, after a "final, stable" release, release 50 or so patches to fix bugs you didn't find before the release.
Re:Consumer choice (Score:1)
I'd like to see NFS fixed. (Score:2)
more often than I'm doing any work.
I know NFS can work... Linux had excellent NFS support for like three kernel versions somewhere in the 2.1 series. I think we should all make Linus use _only_ NFS for all his work for three months; that would get things fixed in a hurry.
Re:2.4? (Score:1)
Don't be surprised if it eats your filesystems, pets, grandparents, etc., though.
This was my main reason for downloading. The perfect crime....
dylan_-
--
Re:I'd like to see NFS fixed. (Score:1)
What would be nice in 2.6 (or 3.0) (Score:3)
Re:DVD Support? (Score:1)
Re:DVD Support? (Score:1)
DVD's are encrypted, and the key is on the disk, but the encryption algorithm is proprietary and can be had for a fee of a mere $10,000. (i've also heard something about a clause in the contract that costs you $1M if your software is reverse engineered... obviously a linux DVD module couldn't be source distributed if this is true)
Hardware decoding is equally difficult: the interfaces to the cards are proprietary.
Maybe, maybe not. (Score:2)
2.2 took so long to stabilize because Linux allowed things in after the freeze and it takes time to stabilize two years worth of changes.
If Linus freezes 2.3 in (say) early October and sticks to it, I think 2.4 should be out by the end of the year.
Re:Consumer choice (Score:1)
Also, the reason I use RPMs when I can is not to make installing them easier...its so I know what is on my system and so I can easily uninstall it.
I am not a Win user (except at work) but I am not blind enough to think that everything is easy as pie. Linux is fun but it takes some fscking work.
And to the guy who said a redhat install takes 2 hours. I can easily do it in 20 mins (on a P150).
Brian
Re:Consumer choice (Score:1)
and now all your other apps stop working.
easy HuH ?
Re:Consumer choice (Score:1)
In most cases all problems compiling Linux sources are pretty minor, unless you get a 2.2.x thingy and try to run it on 2.0.x or do alike nuts.
And it's much better to have a free program that you can put your hands on instead of spending a heap of money on a commercial to realize later that this freaky beast won't work with this and talk to that and sends a bunch of HTML crap attached to your e-mail etc etc.
Again, in Linux you still have a chance to bring it up, otherwise you have to decide whether to call a support or to bite own a*s.
Just IMHO
Re:Consumer choice (Score:1)
When installing locally:-
./configure --prefix=$HOME (or whatever)
make
make install
When done make sure that your path definitions incorporate the new libraries and executables, and all is well. That way you can do your own development and/or run your own applications without interfering with the integrity of the system.
For example you could within user space define a libc5 development/execution environment without ever installing the libraries and include files as root. Of course you need to have the space available.
Re:When do we get an IP stack rewrite? (Score:1)
Don't forget Firewire (Score:1)
Linux 2.4 ought to fix scsi as well. Naming scsi disks according to load order is insane.