General :: Copying And Moving Operations And Their Performance Differences?

Oct 13, 2010

[code]...

Well, let's suppose the file is very large, say 10 GB of disk space it is consuming. We perform the above steps. Which operations: cp (copying) or mv (moving) will be more efficient and less time consuming? The inode number 1566966 which was pointing to the file in my home directory is now pointing to the same file which is in some other directry, i.e. /tmp/. Isn't the inode value getting modified in some ways to point to the correct location / beginning of the data block on the hard disk? If the the physical location of the data would not change then we would not be able to free up space in our home directory. That means the mv operation is copying the file into some other location. In other words, it is also performing the cp operation first and then deleting the file from its original location, my home directory in the case above. However, when a file is copied it's inode value changes. But the mv operation is retaining the same indoe value. So, how to determine which operation - mv or cp - is more CPU-friendly or more efficient in terms of performance and time taken to perform the action?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Graphical Operations (Scrolling / Moving) Slow

Jan 31, 2011

On one Ubuntu desktop 10.04 I got an ati 4800 series using the proprietary drivers. All was working well until a reboot a couple of days ago. I am not sure if it had something to do with one of the massive updates I installed on that day. After that, operations like scrolling, moving windows etc have been dramatically slow. I tried to boot from live cd with 10.04 and everything seemed ok.

View 3 Replies View Related

Ubuntu :: Moving Tmp To RAM - Performance Increase

Jul 15, 2010

I've found this page: [URL]

I've followed several suggestions on my system and overall performance is better.

My question is related to the following:

Quote:

OPTIMIZATIONS NOT RELATED TO STARTUP

Move your temporary files /tmp folder to your RAM if you have loads of memory. This will also provide you greater privacy. Edit /etc/fstab and add the following line to it

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

Is this not normally implemented since some users don't have a lot of RAM?

Also, would it make that much difference if the system didn't have a lot of RAM to work with?

View 9 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Ubuntu :: Getting Input/output Errors While Copying/moving Some Files?

Jul 31, 2010

whenever I copy (or move) files from one place on my hd to another One or two of them dont copy, and I get an error similar to " There was an error copying the file into [location]. Show more details> Error splicing file: Input/output error. The file is always an .avi file and always between 600MB and 1.4GB in size, how can I fix this problem?

View 9 Replies View Related

Ubuntu :: Moving/copying Files And Directories To Base Directory Of User?

Mar 12, 2011

How do I copy and/or move files to the base folder of a user? I don't know what is is called, so I do not know what to put in the my file "?" command? I know you would normally put mv filename /directoryname, but what is the base username called?

View 1 Replies View Related

General :: Set Operations For Strings In System?

May 11, 2011

Let me know unix commands to implement set operations on strings.

View 9 Replies View Related

General :: Disk Operations Freeze Debian

Jan 28, 2010

I have just installed Debian testing on my new desktop and I am not very happy with performance - when I perform a disk intensive operation, e.g. upgrade packages in the system, everything seems to freeze, e.g. changing tabs in Iceweasel takes 3 seconds. I run the Debian on my 3 year old Thinkpad X60 ultra-portable, and I don't have these issues. (every single parameter of the laptop is much worse than the desktop).

I am using the default packaged kernel and scripts.

I run

hdparm -t /dev/sda1

And I got around 96GB/s, which is expected. What else can I try to make it work better?

rzes:/home/ga# hdparm -i /dev/sda
/dev/sda:
Model=WDC WD15EARS-00Z5B1, FwRev=80.00A80, SerialNo=WD-WMAVU1362357
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }

[Code].....

View 8 Replies View Related

General :: Record Operations In Log File From Terminal?

Jul 27, 2011

I would like to document my activity on linux terminal during some operation.I want to have text file which will contain all commands typed and output from those commands in a file.I know how to set this option in Putty but I have some problems in linux terminal.

<pre>
bash | tee output.log
</pre>

When I perform above spell, it only records STDOUT to file.on't have there STDIN,STDERRHow to have in this output.log file STDIN,STDOUT,STDERR

View 4 Replies View Related

General :: Write Operations Being Performed On File With Read-only Access?

Aug 24, 2010

I'm having this problem wherein the ppp program is altering the /etc/resolv.conf file when connecting.This, despite me having set file permissions to read-only. What could be the problem here?

View 9 Replies View Related

General :: Differences Between UID 0 And GID 0?

Feb 24, 2010

Anyone knows the differences between UID 0 and GID 0?

View 6 Replies View Related

General :: Embedded Webserver (mysql) On A Compact Flash: Reduce Read / Write Operations?

Jul 7, 2011

I've developed a tiny webserver for home automation out of an ALIX 1D, and based on a debian lenny. It runs very smoothly and is now able to operate quite a lot of different equipment from a webapp. But i'm not sure how I should handle the compact flash, regarding read/write limitations. From what I've read the partitioning should be ext2, which would disallow the journalisation of the system. A utility to 'flatten' the repartition of write cycles exists, would it be relevant to use if the partition is ext2 ?

I will also disable all logging in execution mode (a debug mode will provide the logs). Is there any other parameters I have to take into account for maximum reliability (i.e. does the system randomly write in some files for various and potentially turned off purposes)? As for the mysql database, it's not important data, and it's actually reconstructed every time the server boots. Given this, is there a way to store the db in RAM rather than in a file? I'm not sure it's the right place to ask, but I sometimes see redirection to here from stack overflow.

View 2 Replies View Related

General :: Differences Between Two USB Keyboards?

Jun 24, 2011

I have a proprietary device - something like an iPad screen - which has a front panel display with touchscreen buttons that work internally as a USB keyboard. During testing/debugging I want to connect it to another keyboard via the external USB port.Any application which I open on the device by pressing some characters on the touchscreen accepts input codes from either USB keyboard. I want to limit the touchscreen USB keyboard input only to a specific set of apps.Is there a program which can help me detect which USB port or device the code is coming from? Or someway I can map one keyboard to send a different set of codes? The device is using Linux.

View 2 Replies View Related

General :: Differences Between XFree86 And KDE?

Oct 7, 2009

My old Intrepid box got old and senile in the hardware, so I had to take it back round the shed and put her down.I buried her next to her favorite tree in the backyard. So yes, I got this new Mini ITX setup with a dual core Atom processor and 4 gigs of ram for my new computer. I'm going to use it as a media center in my living room. However Atom 1.6 ghz is no screamer so I'd like to build a system using a light weight operating environment to leave more power for running programs and playing my media.

I could install the latest version of Kubuntu again but I thought this time I'd try to get a bit deeper into Linux and educate myself. Could someone clarify the differences between XFree86, Window Manager, and a Desktop Environment (KDE/GNOME/etc)? I know it goes like Hardware -> XServer -> XFree86 -> Window Manager (I read the tutorial on linux.org). But where does KDE or a "Desktop Environment" come in? Is KDE a decked out window manager with its own programs that runs on top of XFree86 or what? Or does it totally replace XFree86?

View 13 Replies View Related

General :: What Are Basic Differences Between Desktops?

Jun 4, 2010

I took the simple approach and installed the gnome desktop, but I have read about KDE and Xfce and am curious. There may be a lot more that I just haven't heard about yet too. So the question is: Without doing a reinstall and messing up the downloads and settings I have now, how do I try a new desktop like Xfce or Kde? Also, what are the basic differences between the desktops?

View 9 Replies View Related

General :: Differences Between Kubuntu And Ubuntu?

Apr 3, 2010

what are the exact differences between Kubuntu and Ubuntu? like programs, etc. the desktop environment is obvious, but what are the smaller differences? I just wanted to know before I download one..

View 2 Replies View Related

General :: Differences Between Fdisk And Sfdisk?

Dec 13, 2010

I want to know the differences between fdisk and sfdisk?

View 1 Replies View Related

General :: Differences Between Shells - Which One Is Better To Run Under Scripts

Nov 16, 2010

What are the differences between the shells in Linux (eg. bash,bourne,korn,C etc) and which one is it better to run scripts under?

View 4 Replies View Related

General :: Differences Between Shell , Console & Terminal?

Jan 9, 2011

What are the differences between shell , console & terminal?

This probably sounds like a stupid question but I'm having a lot of trouble clearly differentiating between a shell (such as Bourne or bash) and the Terminal application in GNOME. I realise that both are completely different but I can't seem to find a clear answer written in text. Could anyone clearly distinguish between both?

View 4 Replies View Related

General :: Windows UAC Vs System Sudo / Differences Between Two?

Feb 8, 2011

Is it correct to say that Windows UAC is conceptually the same as Linux sudo?

Can you point out the differences between the two?

View 3 Replies View Related

General :: What Are The Differences Between Shell , Console & Terminal

Jul 23, 2011

I have come across the use of the term terminal, virtual terminals/consoles, real-text terminals but do not understand what terminal refers to. Does it refer to the screen that is in-front of me whilst I post this question or does it refer to something specific?EDITI came across a similar post at What are the differences between shell , console & terminal? and it seems to be similar to the one I posted although am still confused about the use of the sentence Decades ago, this was a physical device consisting of little more than a monitor and keyboard. What does this device look like and how is different to a monitor?

View 2 Replies View Related

General :: Comparing Two Files For Differences And Similarities

Jul 26, 2010

Iam having the following two linux files.

[Code]...

Now i want the following out puts

1. similar nos in both the file 1 and file 2 > output= File 3;
2. In file 1, but not in file 2 > out put= file 4;
3. In file 2, but not in file 1 > output = file 5;

The command sdiff is giving output with symbols > < | etc, and the such output file is not clear and ready to print. I want to print directly the output files. AND ALSO TELL ME WHERE I HAVE TO WRITE AWK PROGRAMS AND HOW TO RUN IT.

View 5 Replies View Related

General :: Differences Between LTIB And Menuconfig Tools?

Feb 21, 2010

I am interested in kernel configuration and compilation, so I have executed ltib and menuconfig, but I am not sure to understand what is the difference between Linux Target Image Builder and the Menuconfig tool? Is menuconfig used by or included in ltib? I understand that both tools generate a kernel, But I guess ltib can process "something more"? (packages/target selection? )

View 2 Replies View Related

General :: Windows - Differences Between Shell , Console & Terminal?

May 24, 2010

Thats it! I'm confused with the terminology.

What is the difference between shell , console & terminal?

View 3 Replies View Related

General :: Compare The Files Differences Between 2 Virtualbox Snapshot?

May 20, 2011

How to compare the files differences between 2 virtualbox snapshots?

View 1 Replies View Related

General :: Differences Between Windows .txt Files (Unicode Encoding)?

Jun 7, 2011

I am only using the 128 character set defined in the original ANSI standard. But as a whole how are the files implmeneted differently. I am not concerned with the display, i.e. if a tab is displayed with 6 or 8 characters but the actual internal representation in memory

One differnce I've hear is the use of (Windows) vs. for line termination (Linux).

View 3 Replies View Related

General :: Differences In Output Between Top In Batch And Interactive Mode?

Jul 13, 2010

I am trying to figure out why top run in batch mode outputs so many more lines than when run in interactive mode. For example:

[Code]...

View 2 Replies View Related

Ubuntu :: Ondemand Vs Performance - Increases The Clock Speed To Performance When The CPU Is Under Load

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

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

View 2 Replies View Related

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

View 2 Replies View Related







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