[daip] New Staff Reply - [!IFS-365733]: reading aips written exabytes without aips

Eric Greisen do-not-reply at nrao.edu
Mon Jun 4 15:10:45 EDT 2012


New Staff Reply: reading aips written exabytes without aips

The basic block size in FITS is 2880 on tape but usually aips writes it as 28800
(10 logicals / physical).

I suspect that if you say 2880 and it is n*2880 that you will lose (n-1)*2880
of each record.  You may get an idea using something like

   Sending an `INFO' signal to a running `dd' process makes it print
I/O statistics to standard error and then resume copying.  In the
example below, `dd' is run in the background to copy 10 million blocks.
The `kill' command makes it output intermediate I/O statistics, and
when `dd' completes, it outputs the final statistics.

     $ dd if=/dev/zero of=/dev/null count=10MB & pid=$!
     $ kill -s INFO $pid; wait $pid
     3385223+0 records in
     3385223+0 records out
     1733234176 bytes (1.7 GB) copied, 6.42173 seconds, 270 MB/s
     10000000+0 records in
     10000000+0 records out
     5120000000 bytes (5.1 GB) copied, 18.913 seconds, 271 MB/s

(copied from info dd)

Eric Greisen


Ticket Details
===================
Ticket ID: IFS-365733
Department: AIPS Data Processing
Priority: Default
Status: Open
Link:  https://help.nrao.edu/staff/index.php?_m=tickets&_a=viewticket&ticketid=1840




More information about the Daip mailing list