Introduction

Here some more results from LFC-bulk method rests will be presented

Module description

  • delfilesbyguid gets a list of GUIDs and a flag ("force"), if replicas should be deleted (1) or not (0)
  • delfilesbyname gets a list of LFNs and the flag
  • delfilesbypattern gets a list of directories and a pattern ("file%") and the flag

Test description

Kind of tests

  • Functional tests of:
    • lfc_deletefilesbyguid
    • lfc_deletefilesbyname
    • lfc_deletefilesbypattern
    • lfc_readdirxp
      (tobedone)
    • lfc_readdirxr (tobedone)
  • Performance test for deleting files without replicas and with replicas (force =0 or 1)
  • Performance test deleting files from multiple machines
  • Performance test deleting files from remote sites
  • Performance tests for files with multiple replicas
  • Test for gfal modules in respect to bulk methods
  • for comparision the deletion via lfc_delete within a lfc_session was used for files without replicas

Test setup

. /afs/cern.ch/project/gd/egee/glite/ui_PPS/etc/profile.d/grid_env.sh 
. /afs/cern.ch/project/gd/egee/glite/ui_PPS_testing/etc/pps_test_env.sh
export PYTHONPATH=$PWD:$PYTHONPATH 
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
export LFC_HOST=lxb0717.cern.ch 
export LCG_CATALOG_TYPE=lfc
the nodes got their old names back. Looking at the dashboard I cannot find any obvious anomalies during the last hours. So it seems we got away with a blue eye

  • This LFC is based on a Oracle Database. The modules _lfc.so, lfclib.so, lfc.py should be in the current directory

  • For each test several thousand entries are created, then these are deleted by the different modules.
  • For comparison the entries have been deleted with the entry by entry method currently used

Performance Tests

Just one entry in the LFC, no replica deletion necessary

The time is given in seconds, the last test is a comparision with my current solution for deleting entries from the LFC

delfilebypattern delfilebyguid delfilebyname unlink file
Number of files best worst per file best worst per file best worst per file best worst per file
50 0.34 0.0068 0.42 0.0084 0.68 0.0136 0.75 0.80 0.015
50 (3 dirs) 1.65 0.0333 0.42 0.82 0.0084 0.67 0.0134 0.77 0.0154
100 0.33 0.0033 0.51 0.88 0.0051 1.03 1.10 0.0103 1.20 0.0120
250 0.33 0.0013 0.76 1.77 0.0030 2.06 0.0082 2.48 2.63 0.0099
500 0.33 0.0007 1.2 2.5 0.0024 3.79 0.0076 4.68 0.0093
1000 0.33 0.0003 2.07 4.51 0.0021 7.30 0.0073 8.99 0.0090
10000 129 235 0.0129 148 225 0.0148 96 132 0.0096 160 238 0.016
12000 162 253 0.0135 180 211 0.015 102 126 0.0085 179 233 0.0149

  • LFC Test without replicas:
    srm.png

  • The plot shows an strange behaviour between 1000 files and 10000 files * this may be due to a restart of the database after the 10000/12000 files test and before the tests with smaller numbers. * the higher numbers shouldn't be taken too much into account therfore, they will be redone

Deletion with replicas

These tests have been done in connection with a srm2 d-cache. (Thanks to Birger Koblitz for the help with the srm2 scripts)

  • LFC bulk deletion with replicas:
    lfc-repl.png

Experiences from the tests

  • Strong performance variation, but this could be due to different load of the testmachine (which wasn't dedicated to the tests), couldn't check
  • Oracle DB crashed once while multiple user access (which can be due to another user)
  • While uploading files to multiple directories, the LFC gave back errors (which is not clear now)
  • Deletion of single replicas (like all replicas of one dataset at one site) is unclear, will be investigated
  • Remote access (Desy instead of Cern) did not change the overall deletion time

Preparation of scripts for automation of bulk deletion

  • Skripts are functional for bulk operations on the production system. Some more work still necessary
  • Deployment of the new Version has to be done.

-- KaiLeffhalm - 19 Dec 2007

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng lfc-repl.png r1 manage 20.1 K 2008-01-16 - 16:57 KaiLeffhalm LFC bulk deletion with replicas
PNGpng srm.png r2 r1 manage 14.1 K 2008-01-09 - 18:53 KaiLeffhalm LFC Test without replicas
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 2008-01-16 - KaiLeffhalm
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback