LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 02-06-2014, 10:43 AM   #1
lordadamson
LQ Newbie
 
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 25

Rep: Reputation: Disabled
Why OS X and iOS feel smooth and snappy?


I am very very sure that it is not about the hardware.
I have used the highest specs laptops and PCs running windows or linux, and I have used the relativaly-low specs Macbooks. and mac wins.

it is about the software, My ipad 2 has a 500 MB of ram and and the dual core A5 chip, but it is just... smooth. it doesn't lag or wait and it can run thousands of apps simultaniosly without me noticing.

I want linux to be this way, and I know it is not about the hardware.

please tell me, what is the reason that iOS and OSX are smooth and snappy, while linux is not? and how to make linux this way?
 
Old 02-06-2014, 10:47 AM   #2
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 3,849

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
i think ios is snappier than android because android is based on java virtualization whereas ios is closer to native 'c' (objective-c). java introduces an extra step of translating machine opcodes into a virtual cpu that understands java binary.

one way to combat this is that manufacturers use cpu's with multiple cores; therefore requiring larger batteries to handle the power; therefore screen sizes can be bigger.

i think ios only allows 1 app to run at a time (my understanding is that it essentially freezes background apps from using cpu until they regain focus -- i dont think it is possible to run 2 apps at a time on ios unless something changed in recent versions ?)

i hardly use os-x so i dont know if it is snappier.

Last edited by schneidz; 02-06-2014 at 04:29 PM.
 
Old 02-06-2014, 10:53 AM   #3
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware, LinuxBBQ, OpenBSD, Mac OSX
Posts: 723

Rep: Reputation: 186Reputation: 186
Well, Apple has a lot of money, and a lot of talent. And they control the seamless integration of hardware and software. Both Linux and Microsoft have to deal with a vast hodge-podge of hardware.

Look at the technologies that go into Mac OSX for the answers. Probably one of the biggest things holding back Linux is Xorg, which is getting kind of long in the tooth. But then, the native interface of all *nix-based systems is the TUI, rather than the GUI.
 
Old 02-06-2014, 02:36 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,146

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
To make linux that fast, you'd have to buy some patents. You'd have to re-write the base code to conform or work more closely to the hardware.
 
Old 02-07-2014, 03:51 PM   #5
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 444

Rep: Reputation: 160Reputation: 160
My Linux with Solid State feels as snappy as my Mac's with regular HDD.
 
Old 02-07-2014, 04:41 PM   #6
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 181

Rep: Reputation: Disabled
Maybe take a look at this thread. There are some links there, aparently ios prioritizes its GUI process in a way that it feels more responsive and 'snappy'.

=======
As for linux behaving this way, maybe if you run X and window manager processes with negative nice, it would be snappier, just a guess.

Last edited by Captain Pinkeye; 02-07-2014 at 04:44 PM. Reason: additional bloat
 
Old 02-10-2014, 01:14 PM   #7
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 159

Rep: Reputation: 9
You might try turning on compositing in your window manager settings. This makes the desktop look a whole lot smoother. If your window manager doesn't provide this setting, just run xcompmgr at startup. Just compare the smoothness of the Windows XP Luna theme (doesn't have compositing) with the Windows Vista/7 Aero theme (uses compositing.)

I think a lot of the problems are due to Linux still using the old, archaic X11 system. There is a new display system being developed called Wayland, which is simpler and more optimized for desktop use and features built-in compositing. I don't know how well it will succeed, but it looks promising.

Last edited by CamTheSaxMan; 02-10-2014 at 01:18 PM.
 
1 members found this post helpful.
Old 02-11-2014, 02:32 AM   #8
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 444

Rep: Reputation: 160Reputation: 160
Wayland actually works pretty well already
 
Old 02-11-2014, 10:53 PM   #9
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 159

Rep: Reputation: 9
Quote:
Originally Posted by Germany_chris View Post
Wayland actually works pretty well already
Are there any window managers/desktop environments yet that can use it? Can most programs run on it? I'd like to try it.
 
Old 02-13-2014, 07:44 AM   #10
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 444

Rep: Reputation: 160Reputation: 160
Quote:
Originally Posted by CamTheSaxMan View Post
Are there any window managers/desktop environments yet that can use it? Can most programs run on it? I'd like to try it.
I used it with cinnamon, I would imagine you could with gnome also..

https://wiki.archlinux.org/index.php/wayland
 
Old 02-20-2014, 01:52 PM   #11
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 159

Rep: Reputation: 9
Quote:
Originally Posted by Germany_chris View Post
I used it with cinnamon, I would imagine you could with gnome also..

https://wiki.archlinux.org/index.php/wayland
Do you notice any performance difference with it as opposed to X11?
 
Old 02-20-2014, 02:47 PM   #12
Germany_chris
Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 444

Rep: Reputation: 160Reputation: 160
Not really..
 
Old 02-20-2014, 04:23 PM   #13
lordadamson
LQ Newbie
 
Registered: Nov 2013
Location: Egypt
Distribution: Fedora
Posts: 25

Original Poster
Rep: Reputation: Disabled
Doing a research... I think the problem is simply resource allocation. Mac gives real-time priority to user inputs and to the outputs that shows directly to user.
While Linux and windows give normal priority to those.
And it seems that it is not a simple issue as it seems.
 
Old 03-09-2014, 10:20 AM   #14
Mr. Bill
Member
 
Registered: Mar 2011
Location: Maryland, USA
Distribution: Ubuntu 14.04 AMD 64
Posts: 179

Rep: Reputation: 14
Why OS X and iOS feel smooth and snappy?

The same reason that home computers using Motorola technology had far greater capabilities than the x86 architecture with more than 10 times the resources. IOW, it is the hardware. Nothing has changed at Intel because they've had no reason to change since taking over the market.
 
Old 03-09-2014, 04:19 PM   #15
brebs
LQ Newbie
 
Registered: May 2013
Posts: 27

Rep: Reputation: Disabled
Quote:
Originally Posted by lordadamson View Post
how to make linux this way?
See my collection of tips. In summary:
Use BFS scheduler
mount options for ext4
/etc/sysctl.conf options
Use ionice and nice commands as appropriate, for apps and daemons. E.g. the logging daemon should be run with ionice -c3
 
  


Reply

Tags
fast, linux, macintosh, os x, smooth


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Snappy distro needed for Gateway Solo 2500 rebbi Linux - Laptop and Netbook 17 12-04-2013 12:17 AM
LXer: OpenSUSE 12.1 Gets Snappy Release LXer Syndicated Linux News 0 11-17-2011 03:41 AM
Vector Snappy N Quick, how might I make my orig. slack. perform as well? hyphae Slackware 2 06-24-2007 08:45 PM
c++ ios::app and ios::ate gearoid_murphy Programming 6 04-08-2006 07:01 AM
New Opera 8 beta for Linux is pretty snappy. dhave Linux - Software 5 01-07-2005 03:38 AM


All times are GMT -5. The time now is 09:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration