d497 9 RC1 amd64 bad desktop performance under load - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Development > FreeBSD Development

FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

Reply
 
Thread Tools Display Modes
  #1  
Old October 19th, 2011, 20:01
tankist02 tankist02 is offline
Junior Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 1 Time in 1 Post
Default 9 RC1 amd64 bad desktop performance under load

If I do rsync of large files from a nearby computer my desktop responsiveness drops significantly. Opening an image, clicking context menu, etc takes a dozen seconds to complete. It feels as if high network and/or disk activity hogs the whole system.

This is a decent machine: Intel Q9550 4-core, 8GB of RAM. DE is Gnome 2.32 with standard configuration. Kernel is stock with 2 options added:

Code:
options         VESA
options         SC_PIXEL_MODE
The same exercise on this machine with Linux (different distros) doesn't have that effect.

Where can I look to fix it? Would be happy to post additional info if needed.
Reply With Quote
  #2  
Old October 19th, 2011, 23:27
xibo xibo is offline
Member
 
Join Date: Dec 2010
Location: Germany
Posts: 300
Thanks: 13
Thanked 61 Times in 50 Posts
Default

It might be due to those options. I'm using a Xeon E3-1260L with 32GB memory, no X11 at all, and scrolling in the vidmode-d terminal makes audio stutter even without any disk IO at all.
Reply With Quote
  #3  
Old October 20th, 2011, 00:33
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,720
Thanks: 432
Thanked 1,760 Times in 1,457 Posts
Default

Those options are for syscons, should not matter while running X.

Narrow it down by trying the rsync in a text console without X running. If it's fast that way, then the problem is X, probably a driver setting.
Reply With Quote
  #4  
Old October 20th, 2011, 00:37
MP2E MP2E is offline
Junior Member
 
Join Date: Dec 2008
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Have you recompiled the base system and removed all the debug flags and options in the kernel config? I noticed FreeBSD 9-BETA3 had all of them enabled in the GENERIC kernel which caused my system to be slower.
Reply With Quote
  #5  
Old October 20th, 2011, 01:20
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,387
Thanks: 60
Thanked 145 Times in 130 Posts
Default

You may be interested in the --bwlimit=2000 parameter to rsync, it will take awhile longer but everything else should run as if rsync is not hardly active, (although untested on your specific hardware and machine...)
Reply With Quote
  #6  
Old October 20th, 2011, 01:46
tankist02 tankist02 is offline
Junior Member
 
Join Date: Nov 2008
Posts: 68
Thanks: 0
Thanked 1 Time in 1 Post
Default

I don't have WITNESS and other debug options in the kernel - I run RC1.

It doesn't look as if graphical performance drops, it's feels as if disc (or memory?) access decreased dramatically.

For a quick check I ran bonnie in console, no X.

First, alone:

Code:
File './Bonnie.77847', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
          100 52822 17.2 46648  4.0 407531 33.0 299119 100.2 3502171 97.7 258782.4 255.1

And then while doing rsync of large files:

Code:
File './Bonnie.77882', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
          100 31086 10.9 38242  3.7 1200665 105.9 296232 95.2 3367756 100.0 250626.6 257.8
Should I check vmstat or similar?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad performance of NFS with ZFS bsus Web & Network Services 7 July 26th, 2011 14:33
Bad performance for server - Freebsd 8.1, apache 2.2.17, php 5.5.3, mysql 5 on amd64 grinocam Web & Network Services 10 December 3rd, 2010 16:50
FreeBSD as Loadbalancer - Bad performance devnull82 Networking 22 December 31st, 2009 13:14
Very bad performance (apache/php/mysql) CoolDemon Web & Network Services 13 July 15th, 2009 18:28
Bad performance on FreeBSD 7.1 RELEASE AMD64 randux General 25 January 23rd, 2009 13:41


All times are GMT +1. The time now is 12:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0