All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Krause <manuel.krause@mb.tu-ilmenau.de>
To: Oleg Drokin <green@namesys.com>
Cc: reiserfs-list <reiserfs-list@namesys.com>
Subject: Re: Copy time comparison 2.4.20-pre6 <-> 2.4.19+data-logging (was:Compatibility of  current 2.4.19.pending ...)
Date: Tue, 17 Sep 2002 19:39:39 +0200	[thread overview]
Message-ID: <3D8768DB.1030102@mb.tu-ilmenau.de> (raw)
In-Reply-To: 20020917180035.A15755@namesys.com

On 09/17/2002 04:00 PM, Oleg Drokin wrote:
> Hello!
> 
> On Tue, Sep 17, 2002 at 03:56:13PM +0200, Manuel Krause wrote:
> 
>>>>not?! I calculated these values manually based upon the timings & df 
>>>>values after copying. Yes, I want to show my personal engagement for the 
>>>>reiserfs community, too.
>>>
>>>Hm. Are you sure you are hitting write-speed limit?
>>>May be you are read-speed bounded? Can you please check that?
>>
>>How can I check this? E.g. with some dd process? I just don't know.
> 
> 
> Copy same amount of data from RAM/nowhere to FS.
> E.g. make a file with file names and sizes and write a script that
> writes this amount of data from /dev/zero with these same names and needed sizes
> into FS. (or just use RAMFS as your source if you have not much data and huge
> RAM)

To be honest, this already exceeds my linux knowledge...

I was fiddling with some test directories containing 195.8MB I copied to 
and from /dev/shm with swap turned off.

# time cp -a /dev/shm/. /mnt/beta/z.Backup.3/
kernel 2.4.20-pre7  | kernel 2.4.20-pre6
real    0m9.006s    | real    0m6.740s
user    0m0.190s    | user    0m0.230s
sys     0m5.250s    | sys     0m4.780s
# rm -r /dev/shm/*
# time cp -a /mnt/beta/z.Backup.3/. /dev/shm/
kernel 2.4.20-pre7  | kernel 2.4.20-pre6
real    0m6.349s    | real    0m6.180s
user    0m0.210s    | user    0m0.220s
sys     0m2.450s    | sys     0m2.510s

and

# time dd if=/dev/zero bs=1M count=1000 of=/mnt/beta/testfile.zero
kernel 2.4.20-pre7  | kernel 2.4.20-pre6
real    1m11.390s   | real    1m42.011s
user    0m0.010s    | user    0m0.000s
sys     0m11.230s   | sys     0m5.620s

# time dd of=/dev/null bs=1M if=/mnt/beta/testfile.zero
kernel 2.4.20-pre7  | kernel 2.4.20-pre6
real    1m16.738s   | real    1m39.094s
user    0m0.000s    | user    0m0.000s
sys     0m5.460s    | sys     0m5.930s


> Compare 2.4.20-pre[67] if you see any difference.
> Ah, also copy your data from original disk location to /dev/null and measure
> time of that operation to know how much of total time is occupied by reads.
> 
> Also you can calculate read and write throughput separately this way.
> And if reads are slower than writes - ...
> 

I'm definitely not sure if my lines above are something you meant.

Bye,

Manuel


  reply	other threads:[~2002-09-17 17:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-12  0:24 Compatibility of current 2.4.19.pending patchset with old data-logging?? Manuel Krause
2002-09-12 13:28 ` newbie how to darren
2002-09-12 14:37   ` Hans Reiser
2002-09-12 15:12     ` Guillermo Torreiro
2002-09-12 21:30 ` Copy time comparison 2.4.20-pre6 <-> 2.4.19+data-logging (was:Compatibility of current 2.4.19.pending ...) Manuel Krause
2002-09-13  7:37   ` Oleg Drokin
2002-09-13 23:07     ` Manuel Krause
2002-09-14  9:02       ` Oleg Drokin
2002-09-17  0:53         ` Manuel Krause
     [not found]         ` <3D867C14.5060404@mb.tu-ilmenau.de>
2002-09-17  6:33           ` Oleg Drokin
2002-09-17 13:56             ` Manuel Krause
2002-09-17 14:00               ` Oleg Drokin
2002-09-17 17:39                 ` Manuel Krause [this message]
2002-09-18  5:20                   ` Oleg Drokin
2002-09-19  1:14                     ` Manuel Krause
2002-09-19  6:34                       ` Oleg Drokin
2002-09-19 15:52                         ` Manuel Krause
2002-09-19 16:01                           ` Oleg Drokin
2002-09-23  0:36                             ` Manuel Krause

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D8768DB.1030102@mb.tu-ilmenau.de \
    --to=manuel.krause@mb.tu-ilmenau.de \
    --cc=green@namesys.com \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.