Major improvement for Linux Desktop

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
RealBlackStuff
Admin
Admin
Posts: 17493
Joined: Mon Sep 18, 2006 5:17 am
Location: Mt. Cobb, PA USA
Contact:

Major improvement for Linux Desktop

#1 Post by RealBlackStuff » Thu Nov 18, 2010 12:05 pm

The Linux desktop is about to get a LOT faster: http://www.zdnet.com/blog/hardware/the- ... ag=nl.e589
Lovely day for a Guinness! (The Real Black Stuff)

Check out The Boardroom for Parts, Mods and Other Services.

frankausmtank
Freshman Member
Posts: 111
Joined: Thu Aug 03, 2006 5:06 am
Location: Berlin, Germany

Re: Major improvement for Linux Desktop

#2 Post by frankausmtank » Fri Nov 19, 2010 5:14 pm

Interesting, thanks. According to phoronix, the patch will be in 2.6.38 at the earliest.

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Major improvement for Linux Desktop

#3 Post by Harryc » Fri Nov 19, 2010 5:36 pm

:thumbs-UP: "When Linus calls this a “real improvement,” and a “killer feature” then it’s probably time for the rest of us to shut up and pay attention to this patch"

Neil
Senior ThinkPadder
Senior ThinkPadder
Posts: 2914
Joined: Sun Aug 07, 2005 5:41 pm
Location: Paragould AR USA

Re: Major improvement for Linux Desktop

#4 Post by Neil » Fri Nov 19, 2010 5:42 pm

Noob alert! I've been using Linux for years but never really taken the time to learn how it all works. IMHO, I don't need to know. But now it leaves me wondering....is this a "patch" that can be applied to an existing installation, or will we have to wait for the release of a patched kernel?
Collection = T500 - R400 - X300 - X200 - T61 (14" WXGA+) - T61 (14.1" SXGA+) - T60 (15" SXGA+) - X40 - T43p - T43 - T42p - A30P - 600E

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Major improvement for Linux Desktop

#5 Post by Harryc » Fri Nov 19, 2010 5:59 pm

Neil, if the patch will be applied to the 2.6.38 kernel at the earliest, you'll have to have be running that kernel (or whatever one it is eventually applied to) to use the patch. The kernels after that patch would have it applied by default.

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Major improvement for Linux Desktop

#6 Post by ThinkRob » Fri Nov 19, 2010 6:09 pm

Sorry to burst everyone's bubble, but this patch is basically useless for the average user. It won't have much of any effect for most workloads.
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Major improvement for Linux Desktop

#7 Post by Harryc » Fri Nov 19, 2010 6:14 pm

ThinkRob wrote: It won't have much of any effect for most workloads.
Please explain why ...

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Major improvement for Linux Desktop

#8 Post by ThinkRob » Sat Nov 20, 2010 2:38 am

Harryc wrote: Please explain why ...
Sure:

The patch assigns groups on the basis of TTY. That works great if you're doing a massively-parallel make, launched via a terminal while, say, using a browser launched from your GNOME menu. In that case, the make (and child processes) will all have the same TTY assigned and will thus be in the same process group while the browser (and your other X11 apps) will be in a different group.

But that's not what most users do. Most users use tasks that don't have a TTY assigned. In this case, all those processes will be in the same group (and thus entirely unaffected by the patch). When most people run into interactivity problems, it's often because they've got something like a torrent client doing some heavy hashing/seeding and a couple instances of some archive manager decompressing a large file -- and if they're anything like most users, all those apps won't be launched from the command line, but rather via some desktop environment like KDE or GNOME; as a result, they'll end up in the same process group, same as before.

Executive summary: the patch helps a specific type of workload. That workload is common amongst developers like as Linus and others, but relatively uncommon amongst "normal" desktop users.
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Re: Major improvement for Linux Desktop

#9 Post by Harryc » Sat Nov 20, 2010 5:46 am

Now that I am paying attention to the demo videos, in both instances I see that they are running a make. Oh well, it would have been nice to see a massive improvement in the average/normal users desktop performance, although Linux is still pretty fast.

Superego
Sophomore Member
Posts: 239
Joined: Tue Feb 20, 2007 4:05 pm
Location: Minneapolis, MN

Re: Major improvement for Linux Desktop

#10 Post by Superego » Sat Nov 20, 2010 8:29 am

Harryc wrote:I see that they are running a make.
Not only that, they're running a parallel make with 64 jobs. Like ThinkRob said, not exactly what a normal user would be doing. However, I am excited as this is a good step toward getting Linux's memory management/task scheduling up to par with Windows.
W510: i7-820QM / 8GB 1066 RAM/ 1 GB NVIDIA Quadro FX 880M / 500GB 7200rpm / 15.6" HD 1080 / Arch Linux

ThinkRob
Senior ThinkPadder
Senior ThinkPadder
Posts: 2364
Joined: Wed May 20, 2009 9:54 am
Location: near RTP, NC

Re: Major improvement for Linux Desktop

#11 Post by ThinkRob » Sat Nov 20, 2010 11:47 am

Superego wrote: Not only that, they're running a parallel make with 64 jobs. Like ThinkRob said, not exactly what a normal user would be doing. However, I am excited as this is a good step toward getting Linux's memory management/task scheduling up to par with Windows.
? It *is* already up to par with Windows. Ever do a couple of massive project builds with VS simultaneously? The system isn't exactly responsive...

You're right though: basically the patch is useful only for a specific workload, and not a common one at that. The great irony (or perhaps injustice) of this is that when Con Kolavis produced a couple different schedulers that were/are superior to the mainline one, along with a proposal for a pluggable scheduler, he was shot down, one of the arguments being that they wanted one scheduler to work equally well for all workloads. Now it seems that they're OK with building in special case logic. Oh well.

Personally, I'm planning on merging BFS into my kernel patchset to see how it fairs. I found it pretty darn useful when I tried it a year ago, but never got around to resolving the conflicts between it and grsecurity. Now that I've got an additional year of dev. experience (and a massively different schedule) I figure I might take a crack at it some time...
Need help with Linux or FreeBSD? Catch me on IRC: I'm ThinkRob on FreeNode and EFnet.

Code: Select all

Current laptop: X1 Carbon 3
Current workstation: none

Superego
Sophomore Member
Posts: 239
Joined: Tue Feb 20, 2007 4:05 pm
Location: Minneapolis, MN

Re: Major improvement for Linux Desktop

#12 Post by Superego » Sat Nov 20, 2010 3:25 pm

ThinkRob wrote:? It *is* already up to par with Windows. Ever do a couple of massive project builds with VS simultaneously? The system isn't exactly responsive...
Sorry, I should have clarified..."up to par" wasn't the right phrase.

My point is that Linux, at it's heart, is a server OS and Windows is a desktop OS. Windows focuses more on a small number of key processes rather than Linux, which favors process creation and can scale well. The first case is great for a user who may have a few applications open that require the lion's share of resources while background processes remain....well, in the background.

The patch referenced above seems like it will move the Linux kernel a little closer to a desktop-oriented OS, like Windows.

And yes, I too hate running large makes in VS...I pretty much do all my development in Archlinux. Except it's pretty hard to play Starcraft 2 in Linux :wink:
W510: i7-820QM / 8GB 1066 RAM/ 1 GB NVIDIA Quadro FX 880M / 500GB 7200rpm / 15.6" HD 1080 / Arch Linux

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 6 guests