Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20
so, my question is still pending. That although having 1gbps NIC on both the end why i m getting only this much speed?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11

    so, my question is still pending.
    That although having 1gbps NIC on both the end why i m getting only this much speed?

  2. #12
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    I am trying to pinpoint the cause for the slow copy.
    Your network is fine.

    So the next thing to look at is disk performance.
    If the files cannot be read or written fast enough for whatever reason, then of course the copy is slow.
    You must always face the curtain with a bow.

  3. #13
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11
    ya ..... u r right.
    actually the problem is the i need to answer my boss regarding this till end of the day.
    and u know while answering to u r boss, we have to be more specific & the answer would be more technical.
    so what do u think, what should i tell to my boss.

  4. #14
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    As I said, next thing to look at is disk performance.
    Copy your files to another disk (it is important, not to copy it to the same disk), or better copy them to /dev/null.

    Monitor the speed you get there.
    I suspect, that you try to copy many small files, and that can be slow.
    You must always face the curtain with a bow.

  5. #15
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11
    coping it to "/dev/null" means?

  6. #16
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Something like
    Code:
    find <SOURCEDIR> -type f -print0 | while read -r -d '' FILE; do cat $FILE  >/dev/null; done
    The idea is to test *only* the read speed, and nothing else.

    You can of course copy <SOURCEDIR> to another disc, but then the speed of that other disk might influence the outcome.

    The plan is to test all the components involved in your copy action individually .
    There is a bottleneck somewhere.
    You must always face the curtain with a bow.

  7. #17
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11
    The command which you have given does not produced any result.

  8. #18
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    It will create read IO.
    You need to open another shell and monitor that, for example with dstat or iostat or vmstat,..

    Also, replace <SOURCEDIR> with the directory of the files you want to copy.
    You must always face the curtain with a bow.

  9. #19
    Just Joined!
    Join Date
    Jan 2011
    Posts
    11
    I have done the required thing.
    "dstat" produced below results_
    [root@localhost ~]# dstat -n
    -net/total-
    recv send
    0 0
    60B 0
    60B 0
    1436B 1511B
    738B 2962B
    1944B 2902B
    1464B 2902B
    60B 0
    742B 1451B
    678B 1511B
    0 0
    682B 60B
    60B 1451B
    0 0
    0 0
    0 0
    0 0
    240B 1776B
    21k 9.8k
    3142B 4410B
    1041B 1504B
    2072B 2432B
    5321B 3915B
    5886B 7039B
    5691B 4158B
    15k 7468B
    38k 6383B
    2573B 3117B
    4962B 3296B
    1656B 3451B
    4853B 2567B
    4462B 1910B
    6366B 4713B
    13k 9929B
    9512B 7753B
    1848B 3205B
    3512B 5885B
    30k 2539B

  10. #20
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    ehm...
    And if you would have used
    dstat -d
    then there would be some numbers on disk performance

    Have a look at the man page
    man dstat
    You must always face the curtain with a bow.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •