OpenSUSE Hardware :: Slow Performance With Mutexes And MySql On Multi Core CPU - AMD Phenom II X4 965 - With 11.3

Nov 11, 2010

I have installed OpenSuse 11.3 32 Bit in a virtual machine on an older computer on a Windows XP host and on a new computer with AMD Phenom II X4 965 processor.

With sysbench I tested the performance of mutex and on the new computer it is 3 - 4 times slower than on the virtual machine. Other performance tests with sysbench for CPU, memory and threads are faster on new computer like expected. I tested this, because I have a slower performance of table creation in MySql tested with sql-bench, where creation of 10000 tables lasts 45 seconds on the virtual machine but over 400 seconds on the new computer.

I have tested with kernel-desktop and kernel-default but there are not large differences. File creation was tested with bonnie++ and is on newer computer faster as expected.

My questions are:
- Why is the mutex handling on the multi core CPU slower than in the virtual machine and how to speed up this?
- Or is there another reason why table creation of MySql is so much slower on multi core CPU?

View 7 Replies


ADVERTISEMENT

OpenSUSE :: Get Application To Utilize More Than One Core In Multi-core Setup?

Mar 27, 2011

I have a command line OCR program called OCR Shop XTR (Vividata corp) that I am using on a system with a 6-core AMD chip. I changed the bios so that the 6-cores were activated, but htop shows me that while the program is running, I am only getting activity on one core (the program maxes out the one core with consistent usage between 97% and 100%).

I have read that many programs are not written to take advantage of multiple core cpu's. However, I am just hoping that there is some way to get this program to take advantage of the extra cores. Does anyone know of a way to invoke programs from the command line which would spread the workload out among additional cores?

Here is the output of uname -a:Linux linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/LinuxAnd here is the output for one of the cores from cat /proc/cpuinfo:processor : 5

vendor_id : AuthenticAMD
cpu family : 16
model : 10
model name : AMD Phenom(tm) II X6 1100T Processor
stepping : 0

[Code].....

View 5 Replies View Related

General :: How To Mitigate The Multi-core "performance Penalty"

Aug 20, 2010

I've been doing some computations at home and at work and have noticed some unexpected performance issues. The work machine is quite a bit more "serious" than the home machine, but sometimes the home machine outperforms the work machine. I'm curious what the dynamic is -- why this should be, and if I can tweak it at all.

Ultimately on both machines the computations are just a lot of very large arbitrary-precision integer linear algebra computations (based on the GNU multi-precision library). Reducing a lot of sparse but "large" integer matrices, finding the vertices on the boundary of high-dimensional polyhedra, and so on.

On my home computer (which has two cores), if I run a standard computation on only one core (the 2nd core near-idle), it takes 282s.

On the home computer running two identical parallel computations (the same computation as above), it takes approx 320s on each core.

On my office computer, with all cores essentially idle except for one core running this computation, it takes 196s.

On my office computer, if I have all 8 cores running full-out, and one of the cores is doing the computation above, it takes 356s on the one core that's running the computation.

Here are the details on my home computer:

View 2 Replies View Related

Hardware :: Sensors Only Detect One Phenom II Core?

Oct 17, 2010

I have k10temp driver built into the kernel and using lm_sensors 3.2.0.But, sensors can only detect 1 phenom core.Quote:

k10temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +40.2�C (high = +70.0�C, crit = +99.5�C)

View 5 Replies View Related

Fedora Hardware :: AMD Phenom Quad Core Using I686 Packages?

Jul 10, 2010

I'm having an interesting problem. I have an AMD quad core and for some reason I can't install x86_64 packages only i686 it originally didn't bother me, but now that i've finally decided to install an ATI graphics card I bought off a friend before i was running fedora but i can't installthe driver for it.

View 2 Replies View Related

Programming :: Multi-core Support - Control On What Core Will A Thread Run

Oct 31, 2010

Is there any Linux API that will let me control on what core will a thread run? If not, do I have to use assembly language?

View 2 Replies View Related

CentOS 5 :: Xen VM - Multi Core CPU VS Multi CPUs?

Sep 12, 2011

Im running 64bit centos 5.6 and using virt-manager.On one of my guest OS's, Windows 7, The max Physical CPUs is 2, you can have unlimited CPU Cores however. (like my machine i use for work has 1, 4 core processor).The issue im having is xen only allows you to set the vcpu arguemnet in your xen config file. How can i set it so that 1 CPU has several Cores just as windows would recognize this machine if i were installing directly to the hardware vs via a VM.Ive searched for 2 days staright trying to address this issue, very little progress, Does anyone know where a XEN support forum is? all i get is the citrix xen support forums.

here is the best info i have found on this, but i dont know how to change this for my CPU to work, when i enter this in my xen config it essentially ignores it and just takes the value of vcpu= so windows shows 2 CPUs each with ONLY one core. Id like 1 or 2 CPUS showing Several cores.The physical Hardware is 2x Xeon 5300 Quad Core CPUs.

> # Expose to the guest multi-core cpu instead of multiple processors
> # Example for intel, expose a 8-core processor :
> #cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,[code]........

View 3 Replies View Related

OpenSUSE :: Overall Slow Performance Of 11.2?

Dec 22, 2009

First of all, apologies if this is not the correct place to post this. I recently installed openSUSE 11.2 (Gnome, 32bit) on my newish PC. It is an Acer Aspire X3200 (AMD Phenom X4 Quad-Core, 1.8 GHz, 4096 MB, NVIDIA GeForce 8200 Integrated, can provide detailed specifications if needed). I've to say I am very disappointed with the results so far! Sorry to say this but I'm having a whole load of problems that I never had when I had Vista or with current Win 7. Here are the issues:

1. Slow network performance. I've disabled ipv6 but it is still the same. Not only when I use Firefox, it is also slow when I use console based programs. 2. Instability - Gnome system monitor crashed 6 (or more) out of 10 times I use it. System Monitor users more CPU resources than anything else! Also when I started the PC this morning, I only had the desktop wallpaper. No icons, no taskbar, no mouse movements or menus, nothing. I had to force shut down it after a while. I'm sure we all are familiar with this on XP but I've never seen something like that on Linux!

3. Annoying noise coming every time I move mouse (mainly when scrolling) and even if I'm not doing anything. I suspect it is coming from my HDD indicator as it always blink even when nothing is running. This can't be a hardware issue as I've never had this on Vista or Win 7 (it is virtually silent on Vista and XP but not on SuSE) This noise is driving me totally mad.

4. Slow performance in general. No matter what I do, even typing this on this text window, it seems everything is running so slow. I never had this problem when I was running 10.x on my 6 year old PC. CPU is always running around 20%-30%, when I don't run any other applications but just Firefox (I have Foxclocks, Delicious and FEBE as add-ons and I don't have any problem using them on Vista or Win 7). I am using Compiz, not sure if this has got anything to do with that.

View 9 Replies View Related

OpenSUSE :: 11.3 - OpenOffice Slow Performance (Need More Memory)

Oct 1, 2010

Ever since 11.3 Open Office was performing "badly" to say the least. It loaded slow, with a few documents open "save-as" and selecting a different folder took up to a minute and so on. Anyway I had the suspicion that there maybe not enough memory allocated. Nothing within the OO settings worked.

Then I looked into yast=>/etc/sysconfig=>System=>Limits...
found "HARDLOCKLIMIT" set to "@256"
changed to "@512"......OK finished.

Ran a test with 10 documents open
a) Startup was much faster
b) Saveas instantly
c) PDF instantly
d) Selecting new folder instantly
Preliminary conclusion : Java(sun) and OO needs more memory

View 9 Replies View Related

OpenSUSE :: 11.4 Slow In Terms Of Speed / Performance

Jun 30, 2011

I'm new to openSUSE and my computer is quite slow although my computer isn't that bad. I opened up ksysguard and it appears that my CPU is the bottleneck. My CPU usage is usually 100%, then after a few seconds, it goes down to 20-60% and then it goes back up to 100% after another few seconds. It says I have 141 processes running (I don't know if that's normal or not).

My Specs are:
CPU: AMD Duron (tm) processor 1.8GHz
Graphics Card: NVIDIA GeForce 6200
Memory: 2GB RAM
I'm using KDE.

View 9 Replies View Related

OpenSUSE Hardware :: Best NVIDIA Driver For Quadro2 Pro - Slow Performance On Browser Display Video

Jan 27, 2011

I went back to Suse 11.2, it comes with the 'nv' driver for my NVIDIA Quadro2 Pro (64 MB) and I'm getting some slow performance on browser display and sometimes video playing. Not always, I recently saw a 2 hr long movie on Blue Ray resolution, so the problem is not hardware, it's software. I saw several links here on how to install other drivers and a 1-click install link on this page but my question is, since this is an old card... which driver is the best for this card ?

View 9 Replies View Related

Programming :: Will Multi-Threading Improve Performance?

May 18, 2011

So I have built a program that takes a picture from two cameras every second and converts them both to jpeg format. The problem is that currently it takes ~2 seconds to convert a single raw photo to jpeg format, thus every second I add another raw photo (30 MB) to ram waiting to be converted to jpeg. So, theoretically the conversion to jpeg is running on a single core with hyperthreading, would I see better performance running the exact same process (a program pulling from a queue and converting to jpeg) running as a single process, or two concurrent processes? (both processes running on the same core, (so 1 thread on one clock cycle, the other on the other... (or one thread running on 1 core and the other on another core. What other steps would you take to improve the performance so there would no longer be a race condition?

-Currently using QT

View 5 Replies View Related

Software :: Get Maximum Performance On A Multi-processor Machine?

Jun 30, 2011

I have a multi-threaded app using pThreads that runs great under Windows on my 4 core machine - all four cores get maxed out processing parts of a large file. I recompiled the same code to run on Red Hat linux on a 64 CPU machine - but from I can tell when it runs - it gets stuck on one core. "mpstat -P ALL" shows the cores are barely loaded. I have tried sched_affinity, sched_priority and SCHED_FIFO - nothing has helped. Any ideas on getting more performance?

View 14 Replies View Related

Fedora :: Dynamically Monitor Multi-core Cpu In Gnome?

Mar 13, 2009

Many people have multi-core cpus supporting frequency scaling now, if you want to see if the workload is being evenly distributed then add as many CPU Frequency Scaling Monitor applets to the Gnome panel as you have cores/cpus. Then right-click each one and select preferences and choose which cpu to monitor.

Now compile a large program or run a cpu intensive game and watch how the workload dances around between the two (hopefully)

Some clever apps like gnome chess will multi-thread and make max use of both cores, sadly many others won't.

View 9 Replies View Related

Fedora :: Option For Multi-core Booting In System?

Sep 14, 2009

I've tried searching the forums / google and haven't been able to come up with anything... in Debian-based distros there's an option that can be set to allow boot concurrency so that multiple processor cores can be used for the boot process. Windows also has an option similar to this to specify how many processor cores to use for boot.

Is there an option for multi-core booting in Fedora?

View 1 Replies View Related

General :: Access CRx Registers On A Multi Core Processor

Sep 9, 2011

I need to set the CR4.MCE bit for all the cores on my system (4). I'd like to write a linux kernel module for that, but I am not sure how to proceed: How do you sequentially access all of the CR4 registers? I have read the Intel manuals and they describe a way to initialize each core, but this is done in the bios.

View 2 Replies View Related

Programming :: Perl Child Processes Become Zombie On A Multi-core Processor?

Apr 11, 2011

I have written a simple script which has to find required patterns from a bunch of files ( where each file is around 2 GB each,which contain the output of seq 1 10000000000000) on an 8 core machine.I am current forking 6 child processes which run simultaneously on 6 cores of the processor & have to search for the required pattern in 6 different files & inform the parent process when a pattern is found using a PIPE.

The problem is,when a child process is done reading a text file looking for a pattern,it is becoming a zombie process.It exits cleanly when i put a $SIG{CHLD} = "IGNORE"; in the script.Can any one tell me whats going on & how do i improve the communication between child and parent processes?

Code:
#!/bin/perl
use strict;

[code]...

View 3 Replies View Related

Security :: John The Ripper Brute-force Attack And Multi-core Processors?

Feb 19, 2010

In my Open-Suse server I have a script, where makepasswd output(by default it generates similar passwords: cGyTbqpr, tpJ1LA, 33EXdo) is redirected to mkpasswd(which uses DES by default) in order to generate salted hash of this previously generated password. I would like to test the strength of this system. I have a quad core CPU, and if I start John The Ripper like this(I want to use -incremental:all flag):

john -incremental:all passwd

..only one core is utilized at 100%. Is there a possibility to make all four cores to crack this password? Or is this possible only after reprogramming John The Ripper? Or what is the algorithm for generating passwords with with -incremental:all flag? I mean if John generates passwords randomly in brute-force mode, then it's smart to start four different John processes simultaneously because then one of those four will find the password firs

View 2 Replies View Related

Ubuntu Servers :: How To Measure - MYSQL Performance

Mar 9, 2011

Recently set up a webserver at Linode. I've been reading alot about tuning the mysql, but other than hitting web pages and seeing how fast they load, how do I tell how well my tuning is working?

View 2 Replies View Related

Ubuntu Servers :: MySQL - Multi-Master Replication?

Aug 8, 2011

I have two computers (one tower, one laptop). On both the computers, I have apache & PHP & mysql running, so i can program/script anywhere I like. With a simple sync'ing program, the PHP scripts are synced between the PC's, thought the databases arent. Therefor I'm looking for a method to sync (replicate) the databases between the PC's. thought after setting up some configuration, i'm stuck... now with how to, but what to

Option 1) Multi-master replication between the PC and the laptop. With this setup, the database can ONLY sync once both the devices are turned on. Also it can only sync if they are turned on on my LAN, since they do not have an external static IP address. if I turn on both PC's on my LAN, with static IP's (from the DHCP server), this option will work. Thought, I basically never have both pc's turned on in my own home... cuz i can use only one at the time anyway.So I was thinking of another setup

Option 2) Multi-master replication with: online Server, PC and Laptop. The server basically contains the most up to date database. for example, the laptop updates the server and the server can update the PC later, once the PC is turned on. Also the other way around, the PC can update the server which can than update the Laptop.

There is, if i'm correct, only one problem: the only multi master replications setups I found, use a circulair setup... (1 updates 2, 2 updates 3, 3 updates 1) What I need is to have the PC update the server, but ALSO have the server update the PC (same for the laptop)

than there is another (little) problem: the PC and laptop cannot be reached from behind the modem, nor do they have a static IP. My question: Is it possible to sync the server with the laptop (that has no static IP), the laptop with the server (that has a static IP), and the same for the PC

PC <====> Server <====> Laptop

View 1 Replies View Related

Ubuntu :: 11.04 - Performance Slow And Laggy

Apr 21, 2011

Just installed 11.04 on my netbook (eee1015pem) and its laggy! Went from super fast 10.10 to slow and laggy 11.04.

View 9 Replies View Related

Ubuntu :: Firefox Slow Performance In 11.04?

May 25, 2011

Just curious if anybody else had experienced Firefox being slightly sluggish in the new release of Ubuntu? I'm running 64-bit Ubuntu on a Dell laptop (Inspiron 1445) with a fresh install of Ubuntu 11.04 on it. I haven't touched or messed with any of the settings.

View 1 Replies View Related

OpenSUSE Network :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/mysql/mysql.sock

Jun 7, 2011

I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:

Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory

[Code]...

View 6 Replies View Related

Fedora Networking :: Very Slow Firefox Performance

Dec 26, 2009

I have fedora 12 and since I started using firefox I noticed that it performs very slow. Slow when opening, when displaying information etc..I thought that there was something wrong with my wireless device but I installed opera and it works very fast. The strange thing is that before that I installed google chrome and also worked very slow for me.

View 2 Replies View Related

Fedora :: Slow Performance After A Power Outage

Aug 7, 2010

My computer is running really slow after a power outage. It was fine, then the power went out. Now it's *unabably* slow. The OS takes a long time to load, the simple calculator takes a few minutes to show up, Firefox doesn't even load at all before I give up. And it won't shut down normally. I have to use the power button.

So did the power outage fry somthing on my PC. Do I have ot replace RAM or the processor? Or is it a software issue? Do I have to do something as drastic as a reimage?

View 6 Replies View Related

Ubuntu :: Extremely Slow Swap Performance

Jun 24, 2010

I'm getting horrible (unusable) performance every time swap is accessed. This was compounded by the GEMS leak and a few other memory leaks, but now under normal non-leaky memory usage swapping is still intolerable. For instance swapping out ~300mb when I opened a new program with RAM full resulted in the system nearly freezing up for about 3-5 minutes (however long it took to brew a cup of coffee and come back to the system just finally unfreezing).

View 9 Replies View Related

Ubuntu :: Slow Performance Of Mozilla Firefox In 10.10?

Nov 20, 2010

I would like to report an issue regarding Mozilla Firefox in ubuntu 10.10. Continuously, a slow performance is experienced whenever I am trying to browse through the web. It takes about 20 sec to load a page. This issue was always existed in my system even when I was using the previous version of Ubuntu, 10.04. Is there any solution about it?

View 8 Replies View Related

Ubuntu :: Slow Performance When Opening Applications

Sep 1, 2011

Had Ubuntu running for about 4 days now and ive noticed its running quite slow.

Takes about 7-9 seconds to open Chromium and my home folder and about 15 to open minecraft :S

I got a:
AMD athlon II X2 p340
8gb of ddr3 1066mhz

I researched into this and found people saying IPv6 issue but it didnt resolve my issue.

View 1 Replies View Related

Ubuntu :: Slow Performance - Getting Alot Of Lag Out Of All Apps / Fix This?

May 11, 2010

I don't know the answer to the question but I'm have the same issues. Getting alot of lag out of all my apps.

View 9 Replies View Related

Hardware :: Slow Usb 2.0 Flash Performance On 2.6.31-15-generic?

Dec 2, 2009

I am having very slow performance from ubuntu 9.10 - gnome - kernel 2.6.31-15-generic when copying files to usb flashdisk drive.It starts very fast(3-4MB/S) but after a while it slows down to speed of 200,300KB/S.
700mg movie file took me around 4hour to copy.

Code:
sudo lspci -vv
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
code....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved