General :: Parallel Processing Slower Than Sequential?

Jul 28, 2011

While converting some images using ImageMagick, I noticed a somewhat strange effect. Using xargs was significantly slower than a standard for loop. Since xargs limited to a single process should act like a for loop, I tested that, and found it to be about the same.

Thus, we have this demonstration.

Quad core (AMD Athalon X4, 2.6GHz)
Working entirely on a tempfs (16g ram total; no swap)
No other major loads

[Code]....

View 1 Replies


ADVERTISEMENT

Software :: Parallel Processing In The RHEL5?

May 6, 2011

I have 5 HP workstation connected with HP ML370 servers. My software "Synopsys" is node locked (run only on server)the problem is that when i run simulation its take too much time. I want to share server load on all 5 workstations on my network.how to utilize these workstations resources e.g RAM, CPU etc...

View 8 Replies View Related

General :: LXDE Suddenly Getting Slower And Slower?

Sep 22, 2010

OpenSuse 11.2
LXDE (Latest version)

It used to have a lightening speed. But now every application is taking few seconds to start, even on Konsole, the commands take some seconds to get typed ! (I literally have to wait for cursor to move and commands to get typed on Konsole). Folders are taking some seconds to get opened !

I rebooted the computer but that proved to be useless.

Here the ps output:

Code:
anisha@linux-uitj:~> pstree -Apuh `id -anisha`
id: invalid option -- 'i'
Try `id --help' for more information.
init(1)-+-acpid(1054)

[Code].....

View 1 Replies View Related

General :: Replace Sequential Numbers In A File With A Different Sequence Using Sed?

Apr 11, 2010

I am trying to find a way to replace a set of sequential numbers in a file with a different sequence using sed. This might be done easier using awk or some sort of bash script, but it seems to me there must be a way to do this easily with sed. Basically, what I am editing is a Cisco switch config. I want to change the sequence of ports to a different numbered sequence. Here is an example of what I am trying to do.I want to change for example, the file:

Code:
cat testfile
interface FastEthernet0/1

[code]...

View 6 Replies View Related

General :: Save / Sort Files In Sequential Order Sector By Sectyor

Aug 26, 2010

I have a china phone which has mp3 player and unfortunately it reads the file names in its memory card in sequential order according where the file is saved. The file system is NTFS. cod

**Note: DDD song was last because I saved AAA to EEE songs then later added DDD song

Then suddenly i deleted BBB song and replaced it with FFF song code...

This is kinda lame. but the OS of the phone has no capability sorting the file according to filename in its built in mp3 player.

my question is how can I sort the files sector by sector(is my term right?) so the lame mp3 player would read the files finally in alphabetically sorted order. I Will plug my phone on my PC

I am using ubuntu 10.4

View 1 Replies View Related

Fedora Installation :: How To Use Processing.org's Processing-1.0.9 As Application?

Mar 1, 2010

New to Fedora (from Windows), I am up and running ok with packages from the repository but only half ok with Processing, the Java graphics programming front end from processing.org.Their download gave me a .tgz file which Package Manager extracted for me into a location of my choice and where there is now a "processing" shell script.This works ok and I have managed to create a launcher on the desktop. That starts ok but always with processing's default action of giving you a new and automatically named work file.In Windows an existing Processing file (.pde file) could be "opened-with" Processing. Trying to do similar in Fedora I find that I am expected to nominate an Application to open with but Processing has not installed as an application.I guess the question is how do I promote Processing to be an Application?Or is there a different approach?

View 4 Replies View Related

Ubuntu :: 10.04 Gets Slower And Slower After Its Been Running A While

Aug 7, 2010

Im experiencing a strange problem with 10.04. When it first boots up its reasonably quick (as snappy as Gnome ever has been) but after its been running for a day or two it gets ununsably slow and has to be rebooted.

I dont see how it can be anything to do with my hardware as it runs OK when first started. Ive monitored RAM usage and it doesnt seem to differ much. There's always the same amount unused.

View 2 Replies View Related

Programming :: Use MPI Only In A Module Of A Given Sequential Program?

Jun 28, 2011

can one use MPI only in a module of a given sequential program? That is, if one have an already working sequential program, can one append to it a MPI-based module? Say I have a working main. It calls module() and what this module does is to spread a group of processes to accomplish a given task. Can that be done or the entire original sequential program must be rewritten?

View 3 Replies View Related

Ubuntu :: Sequential Number To Date Rename?

Jan 4, 2010

I'm looking for some help for renaming files that contain a sequential number. The files are spoken word radio programs that have a sequential program number. I want to have a date in the file name ie. Pgm 3028 Abcxyz 2010-01-18.mp3. Here's a catch, the program only air Mon-Fri, yet I want all the programs to play in sequenceDoes anyone know of a script out there that can do this? I don't have programming knowledge to do myself.

View 2 Replies View Related

Software :: Download Sequential Files Via WGET?

Apr 18, 2011

I often run into the situation where I would like to download a number of sequential files on a website, example names are:

http://www.WebSiteName.com/downloads/filename001.zip
http://www.WebSiteName.com/downloads/filename002.zip
http://www.WebSiteName.com/downloads/filename003.zip

[code]...

View 1 Replies View Related

General :: Run Same Script In Parallel From On Session?

Mar 17, 2010

I have a shell script to refresh some databases. Currently I open 5 sessions and to execute the five scripts.

Today, as test, I tried to see if I could run two refreshes simultaneously from one session using the '&':

. /refresh.ksh db1 &
. /refresh.ksh db2

The first one ran and the second one started only after the first one was finished. Could it be that the script refresh.ksh contains many commands and those are not pushed to the background? If so, what's the best approach to getting 5 db's refresh simultanously from on session?

View 6 Replies View Related

General :: How To Make The Mouse Slower In KDE 4

Sep 6, 2010

I have bought one of the new Logitech wireless mice for my laptop, but it seems too "fast" - a small movement results in massive movement on the screen, its much faster than the old corded mouse I am using with my desktop.

View 1 Replies View Related

General :: Dd Gets Slower While Reading And Writing?

Jan 25, 2011

user@user-laptop:~$ sudo dd if=sd_backup of=/dev/sdd bs=4M conv=noerror,sync

205520896 bytes (206 MB) copied, 28.564 s, 7.2 MB/s
247463936 bytes (247 MB) copied, 57.1285 s, 4.3 MB/s
260046848 bytes (260 MB) copied, 73.2388 s, 3.6 MB/s
289406976 bytes (289 MB) copied, 104.121 s, 2.8 MB/s

[Code]....

How come dd gets slower after copying this 8GB file? What can I do about it?

View 1 Replies View Related

Ubuntu Multimedia :: Play Mp4 Videos With VLC Media Player But The Image Is Very Sequential (keeps Interrupting)

Jan 2, 2010

I'm trying to play an mp4 video (movie) with my VLC media player but the image is very sequential (it keeps interrupting). I don't know why... I've even tried to play with some other players but I have the same problem.

View 1 Replies View Related

General :: How To Identify Current CPU In A Parallel Machine

Sep 1, 2010

I do not know much about parallel computing, but I do have access to a few cpus.I am trying to write a program compatible for multiple cpus, but to do it, I need to ensure unique directories. I have figured out that the time of creation, process id, and cpu id form a unique combination I can use to name files (up to the degree of accuracy of the internal timer).Anyway, I am using perl. I know how to find the process id and I know I can get the time pretty easily, but as I said, I do not know much about hardware or parallel computing. All I need is a way to identify each cpu in the system and I am set for half of my program (the other half is significantly more straightforward and is mainly about text parsing.)

So anyway using terminal, perl, etc., I could access this identification? Or could someone at least tell me the name of what I am looking for? I have seen the words "ip" "MAC" "hostid" and a bunch of other "id" things come up in my googling, but I really cannot figure out which is the one relevent to me

View 6 Replies View Related

General :: Lighting LEDS Using Parallel Ports?

Oct 1, 2010

I would like to add a driver to /dev which can light the LEDS using the parallel port. Where I should start from. I am trying to learn device driver programming, which is quite difficult for me now.

View 8 Replies View Related

General :: Printing With Usb To Parallel Adapter With Hp 720c

Mar 25, 2010

I've got a fresh install of ubuntu 9.10 on a fresh disk and everything was going perfectly. I bought a Usb=>parallel cable to connect my old parallel port printer.When I try and print, sometimes it works and sometimes it doesn't. Sometimes the job will go to the print queue and then nothing happens, in this case if I unplug and replug the usb cable a couple of times it usually prints the document. Sometimes the job doesn't show up in the print queue at all and sometimes it prints the document with no problems.

Whenever I use lsusb, I never see the printer in the list of attached usb devices (even when the printer is printing!). Apart from root hubs, the only two devices ever listed with lsusb are my mouse and scanner.

View 2 Replies View Related

General :: Disk Performance Slower After Upgrade To 4GB RAM

Oct 19, 2010

I am running openSuse 11.2 (32-bit), my CPU only supports 32-bits. I have a hardware RAID device. My system has 4GB of RAM. When I configure my system to only use 3GB, 2GB, or even 1GB, using mem=1024M in grub, my RAID performance is much better then when letting my system use the default 4GB available.Can anyone explain to me why this is? Is there anything I can do, i.e. kernel configuration, that will help performance when running with all 4GB enabled?

View 5 Replies View Related

General :: Browsing With Linux Much Slower Than Windows

Jan 1, 2011

I have a big archive with about 10000 documents in a usb stick. What I have noticed is that browsing of that archive with gnome is much slower with ubuntu than winXP ( dual boot , same PC ) where it is almost instant.I have disabled assistive technologies and installed Thunar file browser. It improved things but again the lag is important. Linux is in general much faster than windows, so I wonder why is it happening ?

View 14 Replies View Related

General :: Web Suddenly Slower, Attachments Won't Attach?

May 10, 2010

Recently installed debian lenny.Running very well.WM: ratpoison.Suddenly, today, the internet runs much slower.ONLY ON THIS MACHINE - the parallel windows machine, off of which I was successfully weaning myself, is not having this problem, so it's neither the router nor the actual internet connection.Specifically: I can't attach a document in yahoo mail.I tried it in iceweasel, same problem, so it's not the browser.I piped the output of "top" for a minute or so to a text file, which I'm attaching.

View 4 Replies View Related

General :: Parallel Port Communication With RHEL6 Not Working?

Dec 13, 2010

I was trying out the parallel port communication on RHEL 6 but found it not working:
#echo hello > /dev/parport0
write error :Invalid argument".
#ll > "/dev/lp0"
/dev/lp0:No such device or address

View 2 Replies View Related

General :: Serial And Parallel Data Communication On Fedora 13

Apr 22, 2010

I have been trying out serial and parallel data communication on Fedora 13 Beta. I can easily see the list of serial ports through:

Code:
setserial -g /dev/ttyS[0-3]
And can also write some data through:
Code:
ll > /dev/ttyS0
But I am unable to see parallel ports
I can see something like:
Code:
/dev/parport0
But when I try out:
ll > /dev/parport0
It throws error.

View 3 Replies View Related

General :: Does Running Commands Verbosely Make Them Slower

Jul 20, 2011

I've found myself using the -v flag for lots of applications less and less (especially for trivial stuff like tar and cp). However, when I did and I was, say, unzipping a large file, it would take longer than when I didn't use the -v flag.I assume this is because the terminal has to process the text and I'm filling up whatever buffer it might have. But my question is, does this make the application actually run slower or does it complete in the same amount of time and what I'm seeing is the terminal trying to catch up?

View 5 Replies View Related

General :: Web Browsers Running Much Slower, Compared With Windows 7, Same PC?

Jan 28, 2010

Debian lenny, old install (I've upgraded to lenny when it was just about to become the stable release), versus windows 7, fresh install.Comparing browsers speeds with numion.com/Stopwatch.html, I had results such as:Iceweasel (firefox) on linux: from 9.154 seconds to 21:860 seconds (the same webpage, reloaded)Firefox on windows: 4.32 seconds - and never much slower than thatThe fastest browser on linux was Opera, ranging from 8.562 to 5.503 secs to load the same page, but even internet explorer beat/match it with its timing of about five seconds.

I have not other browsers on windows; on linux there is aroraonqueror (KDE3), kazehakase, chrome, and dillo, besides text browsers. I didn't test on dillo; Kazehakase and chrome were the only ones which had nearly decent results, but still very bad, 11 to 13 seconds for chrome, and 21 for kazehakase. Konqueror just seemed to never finish to load the page, I gave up when it was still loading somethingfter nutes and 5 seconds.'ve emptied the cache every time I would test, and I was running almost only the browsers and not much else. Whatever comes by default on windows, and on linux, I was on openbox, with nothing much going on I guess, I think the most memory consuming processthe time, besides xorg and the browsers themselves, was dictd.

I've researched a little bit about, but not enough to make a list of possible things to change in order to improve the speed on linux. Most of the time there are people just agreeing that on windows the rendering is faster, and other people saying that with them is the opposite, with some minor variations like people saying that linux is faster for plain downloads while windows is faster for web browsing due to better graphics.

(by the way; I haven't installed any graphic card driver on windows, which is still running on 1024x768, while linux runs on 1280x1024, with the "nv" generic driver, without fancy options, not supported by my old card) The closest to a suggestion of possible solutions was someone saying tha compilation may affect performance, I guess it was both about kernel compilation, and the web browsers themselves.I'll google a bit more about how to "compile for speed", both kernels and programs (maybe the x server

View 4 Replies View Related

General :: Errors Were Encountered While Processing?

Mar 3, 2011

while start following some tutorials, i face lot of problems only with nvidia-driver.for example, if i try to apt-get install chkconfig, the result will be as below:

Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 12 Replies View Related

General :: Notion Of Robbed Task Multiprogramming - Application In Parallel

Mar 17, 2011

Notion of robbed task multiprogramming. I'm looking for information on this concept to better understand its application in parallel

View 1 Replies View Related

General :: Ubuntu 11.04 - Limiting CPU Processing For Flash App

Jul 26, 2011

I'm using Ubuntu 11.04. I'm running processes that repeatedly spawn Firefox browsers with Flash embedded in the pages. Occasionally the Flash processes (npviewer.bin) spin off and use almost all the CPU power. How can I limit the total CPU usage of all the Flash pieces to no more than 30% of CPU?

View 3 Replies View Related

General :: Login MUCH Slower - Some Reference To AppArmor Profile - Screen Corruption ?

Jul 5, 2010

I am new to linux but will try and be as precise as I can. I have a Dell Insp. 1545 with 3GB ram with 10.04_64

Problem: Rather out of the blue upon login, from the time of entering password to the desktop, is MUCH slower. I have no splash enabled and there is some reference to AppArmour profiles (it sits there at this apparmour reference , then sits trying to load desktop). However, I have never configured apparmor. Finally, on last login, there was some sort of screen corruption prior to getting to desktop.

Prior to all this i noticed that firefox "blinked" when I was using it, and then said that it needed to shutdown/restart for updates. I did notice at that time two of my previous tabs sortof acted oddly (moved around then disappeared).

I have no SSH/Server software etc activated.

I did change visudo so that sudo timeout shorter than it was. However that is the only modification to the system recently.

View 1 Replies View Related

General :: Processing Log File Within Certain Dates Based On Filename

Apr 8, 2010

I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:

N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz
N6.2009-12-01-10-05-02.console.log.tar.gz

I am using the following command:
zgrep -a --text "TEST" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10}
and getting
N3 2009-11-25 20:12:57 TEST
N4 2009-11-28 10:42:18 TEST
N6 2009-12-01 10:00:24 TEST

If I only want to search the log file after 2009-11-29, what shall I change the command?

View 1 Replies View Related

General :: Programs No Longer Showing In Task Bar - System Running Much Slower After Update

Apr 26, 2011

using mint 10, now after updates my system is barely working. The programs were no longer showing in the task bar, and the system was running much slower.

[code]...

This repeated over and over again. My temperature was never to high 40-55, and I found a suggestion to update my kernel to 2.6.37-020637. After doing so there is no longer the thermal limit exceeded error but the computer is still running poorly. The system is slow and again no programs are showing up in the task bar when open.

View 6 Replies View Related







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