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
ADVERTISEMENT
Jun 29, 2011
What is the best way to determine in Linux if a multi-processor machine is overloaded? I thought load was a good measure but I run a large number of tasks which don't consume a lot of CPU but which drive up the load. A 4 processor machine has a load of 66 right now according to top for example but mpstat reports that the all CPU idle time is 89%.
View 1 Replies
View Related
Jun 4, 2010
In my environment all the servers are having more than 5+ cpu's.Please help me to find out from which CPU the OS is booting
View 5 Replies
View Related
Aug 23, 2010
Are there any tools available in openSUSE for evaluating cpu/processor performance. My processor/cpu is under warranty til end of October, will like to know whether I need to get new one or i am good. I am looking for something that can log an event and report. Have tried stress and crashme but they dont show any results.
View 9 Replies
View Related
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
Jan 25, 2011
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
View 6 Replies
View Related
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
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
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
View Related
Jan 2, 2011
I have Ubuntu 10.10 Server installed on a 32 core machine(quad AMD Magny Cours 6128 ), and I was wondering what kernel configuration would optimize its performance?So far, I have only found the obvious configurations that are checked off:
1) Processor type and features ---> Support for big SMP systems with more than 8 CPUs
2) Processor type and features ---> Maximum num of CPUs
3) Multi-core scheduler support
Is there anything else I should consider?I plan on running multi-threaded programs with moderate amount of inter-processor communication, shouldn't there be some options related to the shared memory?
View 4 Replies
View Related
Jun 4, 2010
I have been looking at things with the uname command and was wondering if you can install a system with 64/32 bit when it was actually not the one you installed (e.g. you install a 64 bit OS on a 32 bit comp). I was basically wondering how to tell what type of hardware I actually have instead of what the Debian package installed. (In order to ensure that I am running the hardware the way it was designed.) At the moment, I am looking at my processor (uname -p returns "unknown") and the machine build (uname -m returns i686).
View 3 Replies
View Related
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
Apr 14, 2010
I have 10+ machines on a network. Installed with RHEL 5 operating system. writing a script to check on all the machines for
1) Memory size
2) Diskspace
3) Dropped packets on eth0
4) Disk I/O errors
5) Kernel Versions
6) Count of mount points on each node
7) Segfault errors
View 1 Replies
View Related
Jan 28, 2010
I been havin a problem whit the installation of fedora 12 on virtual pc, gives me the error:
"An unrecoverable processor error has been encountered.The virtual machine will reset now."
View 7 Replies
View Related
Jul 1, 2010
How do I do this at my modem page?
View 4 Replies
View Related
Jul 1, 2010
Anybody know how to do this, IN MY MODEM PAGE?This is the best I can copy my modem config page code...
View 2 Replies
View Related
Aug 4, 2011
I just installed Ubuntu 10.04 on a laptop that was given to me. It is having a lot of lag issues,especially when playing videos and visiting websites using flash. It's an Intel Pentium 4 2.4GHz machine. I think that it should perform better because I had used and AMD Sempron 2.0GHz machine with Ubuntu before and video playback was much better than this. I'm thinking that my problem is the graphics card driver. Here is the card that this machine has:
Code:
:~$ lspci | grep Radeon
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M
The AMD machine was using a VIA graphics chipset.
I used the command "Xorg -configure" to create a xorg.conf file, hoping that might help. But it didn't. Here it is:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
[Code]...
Is there any tweaking that I can do in the xorg.conf that might help? I don't know which of those options I should set. I also tried changing the driver to "ati" but that did nothing. found some info for settings with "man radeon", I'm going to try some of those out.
View 9 Replies
View Related
Jun 11, 2011
I have 4 OSes installed:
Windows XP on sda1
Backtrack on sda5-6
Ubuntu 11.04 on sda7-8
Ubuntu 10.10 on sda9-10
I want to remove Ubuntu 11.04 (partitions sda7-8). I tried using GParted from Ubuntu 10.10, but it says that I have to unmount logical partitions with a number higher than the one being removed.
View 2 Replies
View Related
Jan 5, 2010
i have installed ubuntu in my laptop.since i have AMD processor fedora doesnt support AMD processor..the recent version fedora 12 supprots AMD processor.i am doing my final project in ns2 hence it should support tht too!!! Which is the best choice to override ubuntu grub fedora 12 or redhat linux.
View 3 Replies
View Related
Jul 27, 2011
This is a thread I've moved over from the install forum and is hopefully more focused. Sorry if I have violated some protocol. Problem I have a new machine build configured to dual-boot Windows 7 and OPENSUSE 11.4. Network performance in Windows is very good but network performance in OPENSUSE is very poor.
[Code]...
View 4 Replies
View Related
Jun 7, 2011
I recently installed the KDE (Kubuntu) desktop via Synaptic Package Manager. I have a few questions about this: Do I have to update Kubuntu when I update Ubuntu in October, or will it update on its own? Does running Kubuntu simultaneously on an Ubuntu machine cause any issues (slower performance, conflict in programs, etc.)? How do I uninstall Kubuntu if I decide that Ubuntu works just fine for me?
View 2 Replies
View Related
Dec 13, 2010
I got the error: "An unrecoverable processor error has been encountered. The virtual machine will reset now." I have edited the options in installation screen with adding noreplace-paravirt at the end of boot parameters. but still have this error and FC installation does not continue.
View 11 Replies
View Related
Jun 24, 2011
I have an ATI Radeon HD 3300 on-board video chipset, and an ATI Radeon HD 4350 PCI card. What I want is to have both displays available from one mouse/keyboard. I want to play media on one and have the other as my main desktop.The problem is that with Xinerama enabled, KDE desktop effects do not work (KDE says XComposite and XDamage are not available, even though I explicitly enabled them as extensions in the xorg.conf file), and performance is quite bad. Without Xinerama enabled, performance is great, desktop effects work great, but there's a lot of trouble with full-screen video, and the KWin window manager does not apply in the second display (although I can run a second instance of KWin on :0.1).
View 2 Replies
View Related
Mar 21, 2011
Anyone successfully using VNC client on a Mac to control a Debian server?I have the vncserver setup on the Debian machine properly. But I'm having problems connecting to it from both a PowerMac running Tiger and a MacBookPro running leopard.I can connect no problem from a machine running Slack12.2, have not setup port forwarding on my router to connect remotely yet.My Debian machine is running the latest stable release of squeeze with KDE4.I originally tried this with RealVNC Enterprise for OSX but I'm not gonna buy it so I need another alternative after the 30 day trial ends as they have no free version for OSX.
The situation is that I do freelance graphic design on the PowerMac with Cinema4D and Photoshop so I spend most of my time on that machine which is located in my home studio in my attic. Aside from the MacBook and a Dell desktop(family machine)all my other machines and network hardware are in the basement. So to go from the attic to the basement everytime I need to do something on another machine is not practical, and the only other machine I need to access on a regular basis is the Debian box in the basement, this makes the most sense.
I also have a 14 year old living in the house and he's fascinated by all this and will meddle in anything he gets the chance to so all the Linux machines and network hardware need to be behind lock and key.
View 6 Replies
View Related
Jul 31, 2010
I just wanted to know if having my laptop set to ondemand, will this affect performance in any way? I realize it increases the clock speed to performance when the CPU is under load, but does the time it take to go from ondemand to performance affect speed? Will there be any noticeable difference between the two setups? I have a dual core intel at 2.2GHz when in performance. When ondemand is set with no load it downclocks to 800Mhz.
View 7 Replies
View Related
Sep 17, 2010
Now that Ubuntu 10.04 has multi-touch capabilities built-in, if I do not have a multi-touch screen or surface device, can I get 2 USB mice and get 2 pointers on the screen? One for the right hand and one for the left hand as I am ambidextrous, and would find it very convenient to have 2 mice.
View 4 Replies
View Related
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
Dec 24, 2010
How can I set my processor fan to 100% in linux?
View 1 Replies
View Related
Sep 1, 2011
When connected to a Wireless network, how can I use the maximum bandwidth in the network as I am finding that my network speed is degrading day by day as more users are logging onto the network. Btw, I am using Natty Narhwal.
View 1 Replies
View Related
Mar 27, 2011
how much big number can be managed by gmp library under plain GCC environment? (does GMP cover infinite length of integer?)
View 1 Replies
View Related