bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #23023] cp -r use a lot of memory, feature or memory leak?


From: Matteo Boccafoli
Subject: [bug #23023] cp -r use a lot of memory, feature or memory leak?
Date: Tue, 22 Apr 2008 20:13:07 +0000
User-agent: Opera/9.27 (X11; Linux i686; U; en)

URL:
  <http://savannah.gnu.org/bugs/?23023>

                 Summary: cp -r use a lot of memory,  feature or memory leak?
                 Project: GNU Core Utilities
            Submitted by: matteo
            Submitted on: martedì 22/04/2008 alle 22:13
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Private
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

# 21000 dir in 1.tar.bz2
$ cd /dev/shm
/dev/shm$ time tar -xjf 1.tar.bz2

real    0m8.403s
user    0m3.188s
sys     0m5.196s

/dev/shm$ time ./busybox cp -r /dev/shm/1/ /dev/shm/b
real    0m54.421s
user    0m0.832s
sys     0m51.751s
# [time t_1,t_2 : t_1<t_2 and cp.memory(t_1)==cp.memory(t_2)]

/dev/shm$ time /bin/cp -r /dev/shm/1/ /dev/shm/c
real    0m55.696s
user    0m2.680s
sys     0m50.447s
#[time t_1,t_2 : t_1<t_2 and cp.memory(t_1)<cp.memory(t_2)]
# using a lot of memory (max 54 MB of RAM)

Is it a feature or memory leak?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: martedì 22/04/2008 alle 22:13  Name: 1.tar.bz2  Size: 174kB   By:
matteo
21000 dir
<http://savannah.gnu.org/bugs/download.php?file_id=15507>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23023>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]