General :: Simultaneous Multithreading Support?
Jul 15, 2010
I was looking around on Wikipedia, and ran across the UltraSPARC T2 processor. This is a processor with 8 cores (8 physical processors) and 8 threads per core (64 logical processors!)I'm aware of Intel's Hyper-Threading and other technologies, and I know collisions between the threads have the possibility of decreasing the processor's throughput.From what I know, the O(1) scheduler (and surely the current CFS scheduler) is aware of Hyper-Threading, and is careful with processor affinity for threads (mainly, it tries to fill every physical processor before giving any multiple threads, and it tries to keep processes that much move between logical processors on the same physical processor.)
However, although that certainly helps somewhat, I believe the largest gain can come if the compiler is allowed to re-arrange instructions, so that more than two threads can be run at once without collisions in one physical processor. For this to happen, I believe we'd need to come up with a new executable format that can store multiple threads in one file, so the scheduler can schedule them as one block.For example, with the current scheduler and executable formats, the UltraSPARC would appear as 64 logical processors. However, if we consider a system that consists entirely of thread-aware systems, it might look at it as 8 logical processors, and schedule eight processes at a time. Since only one process would exist on each physical processor, the compiler would be able to optimize and significantly reduce resource contention (which I mention below.)
We can look at one physical processor with 8 threads of execution (or any number >2.) If you run 8 different processes, as Linux would currently do, there would likely be a lot of resource contention. My guess is that most of the time, several threads would be waiting for the unit they need to become available. I feel that this is supported because I saw a number from Sun (I forgot where) that the correct optimization settings on their compiler can yield a 300% speedup, on a practical workload.Is there any infrastructure available for Linux that supports processors like the UltraSPARC T2, that have a high number of hardware threads per core? Also, I know this would be a large task to implement, and there would be hurdles (how do you mix multithreaded processes with single-threaded processes on one machine?), and I am wondering if others think there would be enough benefit to justify the effort.
View 1 Replies
ADVERTISEMENT
Jan 10, 2011
We just setup a Moodle server in Apache. We would like to track how close (if at all) we are getting to our MaxClients limit. Is there a log that will show simultaneous connections?If there is, can it be set to only log when specific numbers are hit?
View 4 Replies
View Related
May 5, 2009
I have developed a proprietary multithreaded application using Qt library version 4.2.1 on RHEL 4 platform. The application communicates with different external interfaces using serial communication using well defined protocols. For each system I have a thread that handles data acquisition and processing, it sets an update flag which is read by the GUI thread to update GUI after specified number of seconds. The incoming data from external systems is processed and updated on GUI at certain intervals. Each system update rate on GUI is different. Generally it is 1 second. Their rate of sending data is different and is generally 1Hz, 5 Hz and 10 Hz. For systems with string data I have no issues. But some systems send raw data and I have to process every byte of the entire packet, for which I have to use for loops. Now my problem is if I keep the update rate of GUI for such systems less than a fixed number of seconds (which I have to calculate by hit and trial) the application hangs after sometime. I have tested this system exlusively by switching of all other systems and it hangs standalone.
This leads me to conclude that timing of GUI update is what is causing the application to hang. Also I read somewhere on the net that in multithreading application timers play an important role and slight variation in timing can lead to hung applications. As of now I have kept 5 seconds as the GUI update time and app runs fine. Can somebody suggest something else which might be the cause?Note that I have used mutexes, wait conditions and all necessary tools which are used in multithreading app. But it is only the timer on which I could pin down the issue.
View 6 Replies
View Related
Jan 4, 2011
Im implementing a chat application using Jabber/XMPP and gloox framework which should send and receive messages concurrently in Ubuntu Linux.
The problem faced is both the threads are created and pthread_join( ) is called for both.The iSend thread is scheduled first but gets suspended at cin. Once the recv( ) function is called, which runs in iRecv thread, the recv call back function handleMessage( ) is called. However the control never shifts back to the iSend thread which should call SendMessage( ) function.
View 1 Replies
View Related
Sep 30, 2010
I have Linux installed on my laptop and now I have installed Linux on my external hard-disk too. I was planning to use the external harddisk as a backup medium for my data. I was planning to use data synchronization software and all that. Now I have realized when I boot from my external hard-disk I can't see the other hard-disk and vice-versa.
View 9 Replies
View Related
Jun 1, 2011
Each day I need to copy N files from a source location to a mirror at a specific time (where N is very large). Let's say I tell multiple CPUs to each run an rsync simultaneously on a subset of the files (network and disk bandwidth are not an issue). Ideally each CPU would be responsible for a disjoint subset of the N files, but in practice this is sometimes hard to guarantee. (Some of the source files might be "claimed" by more than one CPU.) As a result, sometimes rsync I and rsync J will both try to copy file F at the same time.
Using rsync -avz --delete --temp-dir=/tmp remote:/path/to/source/ /path/to/dest/, let's say rsyncs I and J both see this situation to start:
[Code]...
Now rsync J finishes copying but generates an error when it tries to move its version of FileB to /path/to/dest/ because there's already another FileB there that it didn't see when it started.
Does one of rsync's many options somehow handle this situation? Ideally I'd like an option that tells rsync, "Believe in yourself. You can do no wrong. Feel free to overwrite anything your little heart desires." so that it wouldn't complain about the FileB that has suddenly appeared mid-execution
View 1 Replies
View Related
Jul 19, 2010
I've setup an HTPC with xbmc, and I'd like to output the audio from the system to both my digital and analog outputs on my mother board. How do I do it? Can their be a script that duplicates the output of one to the other? Here's what aplay -l said:
[Code]....
View 1 Replies
View Related
Aug 17, 2011
How can I configure a single computer to work for multiple simultaneous users? I would like to have multiple keyboards and monitors on a single PC ... Is it possible? This set up I'm planning for CyberCafe, For cyberCafe business ROI is very slow... so was planning to have something like this....
-single CPU (Which would act as a server)
-Multiple monitors, keyboards, Headphones etc....
If this works out then I would save a lot on my investments (OS cost, Hardware devices, electricity etc)
View 3 Replies
View Related
May 27, 2011
Until now I have been running a single threaded cpu at single channel speed but yesterday I bought a 3.2 gig p4 for 20 bucks. It has hyperthreading and an 800 mhz fsb which supports dual channel speeds on the chipset. It hasn't arrived yet so I haven't put it in the system but what I would like to know is whether 11.4 work properly with these changes, and will it detect and implement them properly or will I need to reinstall it?
View 5 Replies
View Related
Apr 14, 2010
I have a HP laptop which can support 1600x900. But after I install ubuntu 9.10 on it, it can only support up to 1280x700. My laptop has a Nvidia graphics card. And i am using GNOME as my desktop environment.
View 1 Replies
View Related
Jun 21, 2011
following a new motherboard install I've just done a clean install of 10.10. At first, I was using the default network manager wifi to connect to my router - I had the upturned radar beam type icon in the top panel showing me the strength of the signal and access, by right clicking on it, to things like Enable Networking, Enable Wireless, etc. I read that installing WICD via synaptic would install wicd and remove the default network manager, so this what I did. My wifi is OK but I still have my upturned radar type icon and a new WICD icon in the top panel. I was expecting the upturned radar icon to disappear - is this correct? If I right click on the radar icon I can click on the Edit Connections option and change things - it appears I have both the default network manager and WICD working at the same time.
View 1 Replies
View Related
Jul 13, 2009
Just moved over from the dark side (Vista) and was wondering how I can get two (or more) PPTP VPNs connected at any given time. I usually attempt to multi task (although swambo says I can't) and work on various clients' servers at the same time. The GUI network manager thingy only allows me to dial up one VPN at a time. Is there perhaps a cli version and if so where would I go to get a tutorial on this please. BTW, running F11 32bit. Tried Debian and Ubuntu as well and found F11 to blindingly fast on my DualCore Toshiba laptop. Pity I can't see the additional 1Gb of RAM though. (4Gb in total).
View 2 Replies
View Related
Aug 14, 2010
I am using the latest version of ubuntu(10.04 LTS) Desktop edition 32Bit. My problem is, after I open the firefox browser for first time after booting, a chain of new firefox windows start opening one after the another. In a matter of few minutes, there are like 15-20 instances of the browser opened.
I reinstalled the OS, but it is happening again and again. Is there some flaw in OS, something related to OS not compatible with my computer or some problem with the keyboard where some key(combination) is in a "press" mode (however, I dont see that happening on Laptop, the keyboard looks fine, plus Windows XP is working just fine).
This problem is forcing me to spend a larger time on Windows (which is bit cringy, after you get used to Ubuntu!).
Specs: 1Gb Ram, Centrino Duo, 1.88 GHz
View 3 Replies
View Related
Jan 30, 2011
GUI for several thousand simultaneous users. I know this post may at first seem a little out of place here when you begin to read it but please bear with me and I think you will understand why I am seeking feedback here. The company I work for (whose name I am withholding for now) is currently running a little over 5,000 Linux servers. Each of these servers has a minimum of 500 users, some as many as 3,000 users on them during a business day.
These servers are serious pieces of hardware. They have hot swappable raid arrays, redundant well most everything is redundant on them, frankly. Our conversion to Linux took place about 8 years ago. We have a proprietary database and development environment that was originally built in the 1970s. All but the most recent applications run in this proprietary environment, whereas our newer applications are using PostgreSQL and executables that are delivered using Apache web server and run inside each users Windows Explorer session on their local PC.
Really, our situation is rather typical of any organization that has legacy software that still gets the job done - with the possible exception of the **massive** number of total users we keep up-and-running every day. more, our next Linux servers are expected to support somewhere between 6,000-8,000 users [exact figure yet to be determined]. You may ask this is all very interesting but why are you posting this here?.
I am researching alternate ways of presenting attractive and functional GUI to users of Linux servers. I find the Ubuntu GUI to be attractive and very functional. the user input these forums get. Finally I am looking for points of view outside my own organization so I don't fall into the 'but we don't do it that way here' mental trap and miss a really great concept.
I have an idea about how to solve this growing challenge, and I want to present it here for your review and comments. For those who might think I have never worked on systems of this size; I can't imagine my opinion would be valuable remember this: The Ark was built by a passionate volunteer; The Titanic was built by paid professionals.....
View 9 Replies
View Related
Jul 1, 2011
I've got two soundcards in my new machine - Realtek ALC8892 onboard, with headphones plugged in, and an M-Audio Audiophile 192 with speakers. There's also HDMI sound out on the graphics card, but I don't use that.
Audio with PulseAudio's output through the sound card is fine. Audio with PulseAudio's output through the onboard sound is fine. If I set the output to Simultaneous Output, however, I get significant lag. Almost half a second. It's quite distracting.
Is this just a problem with PulseAudio's simultaneous output implementation, or is there a fix that I've overlooked? Running 64-bit Natty, btw.
View 5 Replies
View Related
Mar 20, 2011
It's so frustrating that it costs me much self-control not to express my feelings about that directly.So the problem is that XFCE4 and GNOME starts after I choose GNOME option at start-up (in GDM or KDM - I don't know which of them I have as default).If I choose XFCE4 at start-up there is no problem - only XFCE4 starts. Otherwise (if I choose GNOME) GNOME starts and XFCE4 at the same time.
View 7 Replies
View Related
Feb 7, 2010
I really hope someone could help me with this problem. I've been stuck on this for a month.I am using the sftp command to upload files using a bash script.The problem is that it is extremely slow to do it this way. as many of you would know if you have shared server somewhere. I would use scp if remote server supported it, but it doesn't.
Anyway, If any of you have ever used FileZilla, in the Settings, if you go to "Transfers" there is a place where you can set the number of "maximum simultaneous transfers". This feature works wonders with SFTP (and FTP too). It really speeds things up. How do I accomplish this same thing with the sftp command... because I don't want to use a GUI. I don't even mind using FileZilla through the command line if possible... but it does not seem to be possible. I've been stuck on this for a month!!! I've searched everywhere and tried a lot of things with no avail...
View 6 Replies
View Related
Feb 28, 2010
I'm trying to launch CoverGloobus (a fantastic little album art and current song display) and Rhythmbox simultaneously through a BASH script. Problem is that when I attempt to run the script the first time, CoverGloobus doesn't launch, but Rhythmbox does. Here's my script as it is right now:
Code:
#! /bin/bash
#Opens Rhythmbox and CoverGloobus
rhythmbox && covergloobus
done
I've double-checked the commands in gnome-terminal, and they're the right ones for launching the applications. Here's where it gets odd, though. The second time I run the script, CoverGloobus and Rhythmbox launch simultaneously. I've reproduced this scenario multiple times.
View 2 Replies
View Related
Mar 16, 2010
sat in an internet cafe with my music on loud using my headphones when my cell phone vibrated and upon taking off my headphones I noticed that pulseaudio was channeling all my music not only to my headphones but also to my regular monitor out!
So I was actually listening to music using my headphones when in fact the sound was LOUD on my laptop speakers...
Is there a way to configure the thing to not do that? I want the sound to be muted as soon as I plug in my headphones.
View 1 Replies
View Related
Aug 25, 2010
As the title says, I'm interested in two (or more) simultaneous keyboards, each with a unique layout. Everything I've researched indicates this should be possible, but I'm unable to get it to work. Regardless of how I set things up, all keyboards consistently operate as if they share the CoreDevice setting in xorg.conf.
In the above config, both keyboards behave as if they're set for the USA layout. Changing the layout in gnome-keyboard-properties affects all of the connected keyboards equally, but has no provision for altering individual devices.
View 1 Replies
View Related
Sep 16, 2010
I'm writing a client-server program. There are more than 500 clients. I start a thread to process and response to each client and the processing needs some MySQL query. I'm looking for any possible hazards on my server!
1- Any limitation on "Maximum Simultaneous Socket Connection"?
2- Any limitation on using mysql?
3- As socket on Linux are file, Any limitation on number of sockets or threads?
I'm using a Linux server (Centos or Fedora or Ubuntu) and clients are both Linux and Windows.
View 2 Replies
View Related
Nov 5, 2010
I work for a company that uses Ubuntu exclusively. Without going too much into detail, we need a single sound-card to do up to 3 things at one time. What I mean by this, basically, is that there needs to be 3 instances listening to a card's line-in port at any one time. For example (these are made-up), Audacity listening to the line-in jack and making a recording of what it hears, a custom script that streams the input to the internet, and a third instance that listens to this input and runs different scripts based on what it hears.
Currently, our company sends out machines with 3 sound cards to do this. One card for each job. Of course, we'd like to save money and only send out one. Whenever we try to set all 3 programs to run off of one card, they error out and say something along the lines of "device already in use". Is there a way to go around this? If so, how? We use the command-line version of Ubuntu 8.04. It is NOT x64. The hardware may vary a bit, but is for the most part, consistent. (We order in batches of 50.)
View 8 Replies
View Related
Nov 7, 2010
i am using ubuntu 10.04 lts "lucid lynx", and has been encountering problems with audio recently.
i found out for some reason that my system fails to produce sound through pulseaudio, especially when an application is using it (e.g audacious).
the details of the problem:
1. i am using the pulseaudio equalizer from the repository, and i set a program (e.g. audacious) to use pulseaudio so that i can activate the equalizer.
2. while playing, all of my other applications lose the ability to produce any sound, and changing back to alsa during playback (which is using pulseaudio) in audacious indicates that the device is busy. examples include the loss of sound while playing a video from videos.
rough breakdown of what i want to (be able to) do: have sound for all applications using it, for example being able to play a video in videos from my browser and play music in audacious simultaneously.
is there a workaround for this? i'd like to think that there is, but so far my search returned nil.
View 1 Replies
View Related
May 31, 2010
how can I play audio (Mythtv - Play Music) simultaneously on two sound cards using ALSA drivers. I have two cards working well. One card is an onboard Intel cards, and the other card is a USB Audio card. Both cards are working well. I use the onboard Intel to output SPDIF to an amplified. The second USB card is bound to MPD service and it outputs an analog signal to a second amplified. I'd like to have the following configuration: Play to the default card with 5.1 passthrough, while the second card, connected to a second amplifier, plays an analog signal to the same audio played by Mythtv Play Music. In other words, I need to mix somehow and play the same audio on both cards.
Here is the list of cards:
root@mythtv:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
[code]...
View 2 Replies
View Related
Apr 1, 2011
On my server I provide OCR file conversion service but the problem is when a user uploads a file and it's being converted then if you open another tab and try to load the site it won't respond until that conversion is completed. In other words until the PHP script finishes execution apace doesn't serve any other request to the same browser.
Here is my apache configuration:
Code:
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
[code]....
You can check what I mean if you try to upload and convert a file and while the file is converting try opening the site in another tab.
View 2 Replies
View Related
Jul 28, 2010
except is there is a way to enhance mod_limitipconn.c to ensure that apart from restricting one connection allowed from a given IP, also set so that an IP can only connect on every set interval ?e.g.restrict the number of connections from a given source IP to say once every 5 minutes or so?if not mod_limitipconn.c, any other mechanism to do the expected result?
View 2 Replies
View Related
Jul 10, 2011
I'm trying to find out when QME2572 (Qlogic) card became support by the kernel. We have a RHEL 5.1 system that is moving to new hardware, however the kernel at this release doesn't support the new hardware, due to the Qlogic card change. I tired the Redhat KB and Bugzilla. Is there a Kernel change list etc I can search. Never really played around with the kernel too much so I'm just after some pointers for looking up this information. Offically its not supported until Redhat 5.3, I'm trying trying to research kernel info so I can tell the customer they have to upgrade.
View 3 Replies
View Related
May 31, 2010
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
My OpenVPN config file (some details omitted)
--remote [gateway ip] # vpn12 load:
--remote [gateway ip] # vpn11 load:
--remote [gateway ip] # vpn15 load:
--remote [gateway ip] # vpn16 load:
[code]....
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
View 2 Replies
View Related
Aug 25, 2010
I'm looking to dual-boot Windows 7 and Debian 6 upon its release on my sister's laptop. I want to share a partition between the two of them so that /home points to this directory and the Windows equivalent also points to it (C:Users).
Anyway, I've heard good and bad things about the NTFSMount driver (I think it's NTFS-3G now) and the NTFSprogs project and so I am not so certain what I should believe. I do know that NTFS has relatively high overhead, though I do not recall the source of this assertion, so I am considering the use of EXFAT. An open source EXFAT project is hosted on Google Code at [url] and it utilizes the kernel module FUSE.
I'm quite certain that I've got everything covered on the Windows side -- that is, I know that both NTFS and EXFAT will be suitable filesystems for my required usage.
My issue is that I'm curious which will have superior performance and stability in Debian. I planned on building the package from source and mounting the device in my FSTAB but I have also found a PPA for Ubuntu on Launchpad at [url] that I could borrow the debian/rules from and make a .deb package from.
What do you guys think? Should I go at it with the EXFAT or NTFS partitioning? Is NTFS-3G actually fairly supported at this point? Or perhaps should I consider some alternate method?
I have also considered that the only files she will be sharing are those of music, videos, and pictures so it could be better to just link /home/xxxx/Pictures (Music and Videos, too) to the new partition instead of all of /home.
View 7 Replies
View Related
May 11, 2011
I would like to know if it is possibile to have support for wi-fi midi support in linux.
View 1 Replies
View Related