Ubuntu :: Pc Acting Slow When Reading / Writing Files From _ Onto Disk - Is That Normal?
Sep 27, 2010
Whenever I am busy reading or writing large files, or large sum of files, my computer is unresponsive. Screens are getting greyed-out and I just can sit there and wait until the reading/writing is done.
This is not caused by the CPU which is overstressed because it is not. Look at the attachments and you will see the CPU is used for about 20%. When these pictures were captured the computer was using hellanzb to unrar a long list of rar-files.
When you look at my signature you see the computer is not bad at all, just disk-access is slow. I can transfer files with a maximum speed of 30MB/s. Is that normal or is it very slow? I don't know the numbers. I have 2 SATA disks.
O.S. is Mint 9-Isadora, based on Ubuntu 10.04 and I use the 64-bits version.
View 9 Replies
ADVERTISEMENT
Jan 1, 2011
Reading and writing text files in C?
View 9 Replies
View Related
Mar 18, 2010
Samba seems to crash and come back after some seconds if I copy a lot of small files in a short period of time over the network. How do I fix it?
I have Ubuntu 9.10 Server 64bit running on a D945GCLF2 board sharing two 1TB ext4 formatted HDDs to my Windows PCs using samba. I've been having an issue with reading or writing files through samba. It happens during copying operations or checksumming, anything that reads or writes MANY small files in a small amount of time. I am pretty sure the problem has to do with my server because the server has run on two different LANs in different homes and will crash from activity with any of several other PCs. There is no crashing if I access the files through SSH, although when I do that the max transfer speed is less than 1MB/s.
When I induce the crashing, there is absolutely no output to the server terminal.
As an easy access example of something that will crash samba, extracting Cinebench R11.5 to the server will do the job. It always fails.
View 9 Replies
View Related
Jan 18, 2010
This is a curiosity of mine, and I expect a technical answer, if someone knows it. Why the systems become so irresponsive when doing hard-disk input and output? This happens even if writing is done to a secondary disk where neither the system or the swap are stored.
View 7 Replies
View Related
Dec 2, 2008
I synthesized a seismogram by using Fortran codes, I need plot the synthesized seismogram and the data together, so I can verify the accuracy of code. Now I encounter a question: how to read the SAC data by Fortran code, I have searched some codes on Internet, the details as follow:the velr12a.sac is my data file.
Code:
c read sac file
PROGRAM RSAC
PARAMETER (MAX=1000)
DIMENSION YARRAY(MAX)
CHARACTER*10 KNAME
[Code]....
View 2 Replies
View Related
May 9, 2010
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers. [URL] It's a straithfoward proces so I dont understand what I did wrong. I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04 Also the partition is mounted at /home, so I dont know if that makes any difference.
View 1 Replies
View Related
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
Mar 25, 2011
On my system Firefox 4 seemed to be taking its sweet time "looking up" addresses, but when it found the page it blazed on the render. I poked around on the net and found a few suggestions to speed up the "look up". So I thought I would share... I aimed for the fewest changes, so not to break too many things or make a big mess. (Warning moving and changing things that you don't know about, in the about:config can goof up Firefox so double check your settings) place about:config in the address bar and hit enter
You should get a really long list of things
In the search bar put
network.dns.disableIPv6
My default value was set to false, go ahead and set it to true. Right click and Toggle. Clear out the search bar where network.dns.disableIPv6 was, and put in network.http.pipelining You should have three listings Right click on network.http.pipelining and Toggle so "true" shows for the value. Next, right click on network.http.pipelining.maxrequests and Modify, a box will pop up, replace the default 4 with 8. Close the about:config
Now test your Forefox performance. These three small changes, made a world of difference for me. Its now comparably fast as chromium. If you disagree with what I did, or want to let me know of any other "safe" speedups let me know. PS. If you don't see any improvements performance-wise or your from the future and do use IPv6, it would be best to go and take these settings back to the default Firefox settings.
View 2 Replies
View Related
Feb 9, 2010
I've been able to get access to our Netgear NAS, I can browse it, copy files etc. just fine. But I don't have "direct access" in as far as, Open Office won't open any files residing on the NAS, neither can I save directly to the NAS form a program and when I get a "Browse for File" form field on a website (eg attachments in GMail etc.), I can't browse to the NAS either. My XP box does do all of this, either through my mapped network drive or even through browsing the network. How can I make openSuse 11.2 use the NAS with my login credentials as if it was a local disk?
View 4 Replies
View Related
May 9, 2010
I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers.I've used help from the official site http://www.fs-driver.org/and this tutorial http://www.dedoimedo.com/computers/l...s-windows.html
It's a straithfoward proces so I dont understand what I did wrong.I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04Also the partition is mounted at /home, so I dont know if that makes any diferance.
View 3 Replies
View Related
Jul 25, 2010
My main workstation incorporates a mixture of ext3, ext4, and NTFS partitions scattered across a number of hard drives. Several of the ext4 partitions are encrypted, and I intend to encrypt the rest of the Linux partitions in the near future.I run VMware workstation, with several Windows OS guests, including Win2K, WinXP and Win7. My Win7 VM is installed on a virtual hard disk, and that virtual hard disk is encrypted using VMware facilities.So this leaves me with a bunch of NTFS partitions that are not encrypted. These are physical partitions on a couple of different hard drives. The reason I have them is ancient and historical, and as I have upgraded my system over time I have maintained the architecture due to the extreme difficulty of rearranging Windows systems.I still need to maintain Win2K and WinXP support, and rearranging those virtual machines would represent a hideous nightmare for me; I really want to maintain the same hard drive partition architecture.But I want to encrypt the NTFS partitions, in a fashion that can be handled by any of the Windows operating systems, AND can be accessed for read and write from Linux.Is this possible? If not using Windows facilities (I don't think ntfs-3g handles encryption, and there are known backdoors in the Windows facilities anyway), is there any third party solution that would work? Would True Crypt do the job in a fashion that would permit access from all the various operating systems, as required? I do generally mount the NTFS partitions in whichever Windows VM is appropriate, then share them out via SMB, but there are circumstances (like when a VM is not running) where I will directly hit them from Linux. So, it is possible for me to contemplate a solution that only works from Windows, but this would cost me the ability to repair/modify those filesystems directly from Linux, which under certain circumstances (a malfunction of the VM, for instance) could be a problem.
View 2 Replies
View Related
Dec 5, 2008
I am about to write a program to listen and read data from /dev/ttyS0 and write the data to /dev/ttyS1 after processing. Also, the same time I need to listen to /dev/ttyS1 and write to /dev/ttyS0 if any data arrived at /dev/ttyS1.
View 9 Replies
View Related
Dec 3, 2010
I would like to write a program that can read every ethernet frame arriving on a specific hardware NIC, without a TCP/IP stack otherwise doing anything on that NIC. Likewise I want to be able to write out to that NIC. So every arriving ethernet frame, of all types, would be readable (probably one at a time to preserve frame boundaries). And every write of exactly that same data would send frames out. The data read and written would be the whole ethernet frame. The kernel would do nothing else with this data, but other NICs would still operate as usual.
What I would be doing is that on 2 separate NICs, copying frames from one to the other, as in bridging. But I would also be doing modifications per what my program needs to do (not at liberty to say what that would be). What facility would I need to be looking at to do this? There is no ethernet device file. Would raw sockets be able to do this? The programming language will be C.
View 4 Replies
View Related
Jan 18, 2011
I just want to read and write some values (integer) to my driver. I used put/get user but always getting errors.
driver
Quote:
int Wert;
static int device_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsinged long arg)
int ret;
[code]...
Quote:
int WERT
ret=ioctl(fd, SETIT, WERT)
ret=ioctl(fd, GETIT, WERT)
if i say in C++ WERT is 5 the value arg of the driver becomes 5 but not WERT the returnvalue of get and put user is -1 so it failed.
View 12 Replies
View Related
Apr 3, 2010
I want to be able to access my email account from the console. I'm reading all day about fetchmail, postfix, sendmail etc. but all the stuff I found is related to building whole mail system. All I want to do is to read my emails and write some. Which is the painless way to do this? I successfully configured Evolution for this purpose but I want to do that from the console.
View 10 Replies
View Related
Dec 2, 2010
I am trying to read a file character wise and trying to write the same character to another file. In this process, I unable to read and write white spaces successfully to the new file. The script reads the white spaces but while writing the white space is lost. The section of the code, is given below. Please advice how can i read and retain the white space while writing to a new file.
Code:
if [ -s f_test.txt ] && [ -f f_test.txt ]; then
echo "File Exists !!"
while read -n1 char; do
[code]....
View 2 Replies
View Related
Apr 2, 2010
At times I see heavy hard-disk activity slowing down system.I have enough RAM and enough of it free.Apparently I am not doing anything that should cause this.'vmstat' shows high numbers for "bi bo" I want to find out which processes are doing "bi bo".How can I zero in on the particular processes?What command?
View 3 Replies
View Related
Jun 20, 2010
There is the Archive::Zip I think I can use with Perl 5.10 but I don't know how. I don't want to read or write any files, just zip something in memory, with best compression, like
$text = "this is a test";
$zippedtext = &Zip($text);
sub Zip {
[code]...
I guess it's only a few lines.
View 3 Replies
View Related
Nov 4, 2010
It it safe to read a shared integer while another thread is writing to it on a multicore system?
View 3 Replies
View Related
Mar 11, 2010
Here the description of the issue I am having.I am writing a bash test script which reads lines from a file, builds ISO messages, sends them to a server, reads the response with response code and reports the result of the test to a file or on the screen.The message that I need to send is 94 characters long.Here's the portion of a code that I initially wrote:
~ Open socket.
exec 3<>/dev/tcp/172.26.0.25/9991
#~ Send msg.
[code]...
View 7 Replies
View Related
Apr 7, 2011
Am interested in using MT29F2G08AABWP NAND Flash memory for a new embedded design and I couldn�t find a clear specification regarding how reliable is the NAND flash vs. NOR for reading operation.If I program successfully a NAND block, read back and verify successfully the information and never erase or program that particular block again, can I assume that block will remain a good block and the information written there is safe for READING, roughly as safe as a NOR sector?
View 1 Replies
View Related
Jun 19, 2011
I have an adsl modem acting as a bridge to my router my setup was working well for more than year now , but then the internet went slow . I set the modem back to PPPoE the problem was with the DNS server of the ISP so using ifup i set the dns t 8.8.8.8 (google) the connection is back , but when i set the modem back as a bridge slow internet does the router know that my dns is 8.8.8.8 or i should set the dns on the router ? I can't see an option to set the dns on the router ( i just enter my username and password from the isp to use PPPoE mode ) by the way i called the isp support they kept telling me to restart , i told them i did but i never restarted my pc . I'm sure if i tell them i'm running linux they will blame the os !
View 2 Replies
View Related
Jul 9, 2011
On a Linux CD/DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file ( compressed filesystem images for the live version before installation ) !!
I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the CD/DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...
i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ?
PS. that same question could be kind of translated or be extended like : how do I use unionfs/squashfs programs on the command line to mount these image files with no extension for read & write mode ???
View 9 Replies
View Related
Jan 13, 2010
I have just formated and did a fresh install to start all over. I installed Ubuntu 9.1 and everything went fine but the network. The computer serve as a NAS and MediaPlayer. When getting a file from the server, I get a speed of 40-60mb/sec, which are good for a Gigabit network. When I try to put a file in, the speed can't pass more than 1mb/sec and often stop.
Here's the network info:
Code:
vric@XBMC:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:8c:a1:eb:55
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:8cff:fea1:eb55/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]...
Edit: Looks like it's a Gigabit Problem. I connected the Ubuntu box to my Linksys router which is 10/100 and everything is MUCH faster.
View 2 Replies
View Related
May 21, 2010
I have a USB hub on my desk, and also a multi-card reader in the front-panel of the computer (connected to a USB PCI card).
I have found that when I write files to a USB "thumb" drive plugged into the USB hub, or to a card in the multi-card reader (I have tried SD, SDHC, CompactFlash and MMC) the file is written quickly. The progress bar that appears on the screen goes to almost 100%, but then stops...
If I try to unmount the filesystem (either umount on the command line, or MB3 and eject or unmount option) I get a message that the device is busy. Sometimes, this stays busy for three minutes.
The filesystems on these cards are almost always FAT32; they are for digital cameras, media players, or are for exchanging files between home and office (where I use WinXP).
View 2 Replies
View Related
Apr 17, 2011
Whenever I transfer a movie into my 16GB USB flash disk, my whole system becomes windows-like and unusable!
When i drag the file(s) into the USB disk folder, it starts out fine and pretty darn fast (25mb/sec) then slowly decreases until it's unbearably slow (3m/sec) and as a side effect my whole system starts deteriorating. I basically have to wait for the file to finish transferring before i can use my desktop again!
This has been happening with every version since Karmic (all 64bit)- I put up with it because I don't use the USB stick that much.. but lately it's been my go to source for transfering large files to/from work.
View 3 Replies
View Related
Nov 29, 2010
I have a text file (myfile.txt) with columns a,b,c.
123 2 23
124 2 24
125 2 22
[code]...
View 4 Replies
View Related
Jun 6, 2011
1. 11.4 x64.
2. Solaris SMB server.
3. Gigabit LAN
4. mounted shares from that server (fstab entries)
write speed: 80-90-100 MB/s read speed extremely slow: 3-4-5 MB/s (really funny - our administrator shoked, but i'm not fun, i need fast lan for work)But when i reboot to windows 7 - i have 60-70-80 MB/s in both directions. Read and Write - nice.What happened? kernel updated and all last updates is applied (exclude kopete-because i use old kopete with animated tray icon).I have to tried many tunes like: "noatime" "directio" and also in /etc/modprobe.d - put conf file with: options cifs CIFSMaxBufSize=130048
View 9 Replies
View Related
Oct 21, 2014
I mount a BD-RE in Debian Jessie to write about 20GB of data. But the writing speed is terrible slow. I get a Speed of 250kb/sec.
Are there any options to increase the speed of writing? I don't use packet writing and no wodim, no growisofs, nothing. I just mounted the disk and I use mc (Midnight commander) to copy the data.
View 0 Replies
View Related
Sep 24, 2010
I have a VM setup in VirtualBox of Win XP. This VM has been setup for well over 4 years.
All of a sudden today, the VM started running very slow. I checked the task manager in Windows, nothing eating up PCU or memory there. I then ran htop. Attached is what I saw. There are many repeat processes with different PIDs.
Is this normal?
View 7 Replies
View Related