<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BACKUP uses nearly 100% CPU in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535597#M17553</link>
    <description>Hoff,&lt;BR /&gt;&lt;BR /&gt;Would a block size of 61440 be better than 65535?  &lt;BR /&gt;&lt;BR /&gt;Also with the SDLT and Ultrium tape drives can we set /NOCRC and /GROUP=0</description>
    <pubDate>Wed, 18 Nov 2009 00:38:56 GMT</pubDate>
    <dc:creator>Cass Witkowski</dc:creator>
    <dc:date>2009-11-18T00:38:56Z</dc:date>
    <item>
      <title>BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535589#M17545</link>
      <description>BACKUP uses a lot of CPU on our Alphaserver DS25 with 2 GB RAM running 7.3-2.  The documents that DEC/Compaq/HP put our regarding BACKUP performance don't seem to address high CPU usage.  We are backing up to an SDLT320 with encryption.  Any suggestions?</description>
      <pubDate>Tue, 17 Nov 2009 20:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535589#M17545</guid>
      <dc:creator>Stephen Eickhoff_1</dc:creator>
      <dc:date>2009-11-17T20:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535590#M17546</link>
      <description>If you're using the encryption mechanisms within BACKUP (which required an add-on back on OpenVMS Alpha V7.3-2, and became integrated in V8.3), that's certainly a compute-intensive process.&lt;BR /&gt;&lt;BR /&gt;What is the BACKUP command you're using?&lt;BR /&gt;&lt;BR /&gt;Are you using host-based encryption, or drive-based encryption?&lt;BR /&gt;&lt;BR /&gt;Have you monitored the OpenVMS Alpha box to see (for instance) the processor mode involved?  High user-mode CPU usage within the process running BACKUP can be expected, but (for instance) high inner-mode time in BACKUP or processor usage arising within another process running in parallel to BACKUP might point to something else arising here.&lt;BR /&gt;&lt;BR /&gt;Are you current on your ECO kits?</description>
      <pubDate>Tue, 17 Nov 2009 20:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535590#M17546</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-17T20:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535591#M17547</link>
      <description>&lt;!--!*#--&gt;We are using the host-based encryption. We are not using compression on the drive.&lt;BR /&gt;&lt;BR /&gt;The command is:&lt;BR /&gt;BACKUP/IMAGE/LIST=DISK2BU.LST/IGN=(INTER,LABEL)/ENCRYPT=(NAME=AFTBUKEY)/BLOCK_SIZE=65535 DISK$DISK2: MM1:DISK2.BKP&lt;BR /&gt;&lt;BR /&gt;These are the latest patches:&lt;BR /&gt;DEC AXPVMS TCPIP_ECO V5.4-156        Patch       Install         26-JUL-2009&lt;BR /&gt;DEC AXPVMS VMS732_F11X V6.0          Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_NETACP V1.0        Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_SYS V17.0          Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_UPDATE V17.0       Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_UPDATE V16.0       Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_UPDATE V15.0       Patch       Install         12-JUN-2009&lt;BR /&gt;DEC AXPVMS VMS732_PCSI V5.0          Patch       Install         12-JUN-2009</description>
      <pubDate>Tue, 17 Nov 2009 21:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535591#M17547</guid>
      <dc:creator>Stephen Eickhoff_1</dc:creator>
      <dc:date>2009-11-17T21:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535592#M17548</link>
      <description>&amp;gt;We are using the host-based encryption. We are not using compression on the drive.&lt;BR /&gt;&lt;BR /&gt;FWIW, data is generally compressed before it is encrypted.  Reliably-encrypted data cannot be compressed.  (The repeating patterns within data that the compression software is based upon are exactly what the encryption algorithms look for and seek to eliminate.)&lt;BR /&gt;&lt;BR /&gt;The obvious suspect here is the overhead of encryption.  &lt;BR /&gt;&lt;BR /&gt;This suspicion usually easily verified, too.  Shut it off for a BACKUP test; observe the difference from a BACKUP with and without encryption enabled.&lt;BR /&gt;&lt;BR /&gt;Testing with the available AES-based encryption in V8.3 would be an interesting comparison, too. &lt;BR /&gt;&lt;BR /&gt;Options here can potentially include an encrypting drive and there are a few of these on the market; offloading the overhead to a dedicated engine.</description>
      <pubDate>Tue, 17 Nov 2009 21:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535592#M17548</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-17T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535593#M17549</link>
      <description>Using the ENCRYPT layered product will consume a significant amount of CPU, that's the way it works.  In our ES-40 and ES-47 systems, we see the bottleneck as CPU.  We're also at 7.3-2.  &lt;BR /&gt;&lt;BR /&gt;You might consider moving to OpenVMS 8.3.  There are some improvements reported in Encryption.  Someone here may have a experience to report on.&lt;BR /&gt;&lt;BR /&gt;Andy Bustamante&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535593#M17549</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2009-11-17T22:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535594#M17550</link>
      <description>&amp;gt; BACKUP uses a lot of CPU&lt;BR /&gt;&lt;BR /&gt;  Excellent! You want BACKUP to run fast. It's designed to use as much resource as you will allow it to get the job done quickly.&lt;BR /&gt;&lt;BR /&gt;  You have 3 basic resources on your system: CPU, memory and I/O bandwidth. BACKUP gives you 3 knobs to adjust resource consumption.&lt;BR /&gt;&lt;BR /&gt;CPU is controlled by the CPU priority of the process running BACKUP. If you want it to use less (or, rather, let other processes take priority), reduce the priority of the BACKUP process, or increase that of other processes.&lt;BR /&gt;&lt;BR /&gt;Memory is controlled by the WSQUOTA of the BACKUP process.&lt;BR /&gt;&lt;BR /&gt;I/O Bandwidth is controlled by the FILLM of the backup process.&lt;BR /&gt;&lt;BR /&gt;All other quotas should be relatively "infinite" to these three (see tables in the BACKUP manual for deriving workable values relative to WSQUOTA and FILLM).&lt;BR /&gt;&lt;BR /&gt;Encryption adds a CPU burden to the process. The real question you need to answer is if you need the CPU for something else. If not, you paid for it, so using it shouldn't be an issue.</description>
      <pubDate>Tue, 17 Nov 2009 22:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535594#M17550</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-11-17T22:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535595#M17551</link>
      <description>This DS25 has the fastest CPU in the datacenter; however, while the other systems are ES40s with slower CPUs, I think they all might have two.  That could explain why they aren't being bogged down.&lt;BR /&gt;&lt;BR /&gt;To clarify, Hoff, we are NOT using compression.  Historically, we never have, but with the addition of encryption we are conscious that it would actually have a negative impact.</description>
      <pubDate>Tue, 17 Nov 2009 22:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535595#M17551</guid>
      <dc:creator>Stephen Eickhoff_1</dc:creator>
      <dc:date>2009-11-17T22:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535596#M17552</link>
      <description>&amp;gt;&amp;gt;&amp;gt;This DS25 has the fastest CPU in the datacenter; however, while the other systems are ES40s with slower CPUs, I think they all might have two&lt;BR /&gt;&lt;BR /&gt;$ show CPU &lt;BR /&gt;&lt;BR /&gt;Will tell you how many CPUs you have installed in the DS25.  It will support up to 2 CPUs installed.  If you only have one CPU, a second is eaily added along with an SMP license.  The ES-40 will support up to 4 CPUs.  In a 4 CPU system, we see backup consuming one CPU with no noticeable user impact.  This is in a clinical 7x24 system.&lt;BR /&gt;&lt;BR /&gt;Andy Bustamante</description>
      <pubDate>Tue, 17 Nov 2009 22:55:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535596#M17552</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2009-11-17T22:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535597#M17553</link>
      <description>Hoff,&lt;BR /&gt;&lt;BR /&gt;Would a block size of 61440 be better than 65535?  &lt;BR /&gt;&lt;BR /&gt;Also with the SDLT and Ultrium tape drives can we set /NOCRC and /GROUP=0</description>
      <pubDate>Wed, 18 Nov 2009 00:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535597#M17553</guid>
      <dc:creator>Cass Witkowski</dc:creator>
      <dc:date>2009-11-18T00:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535598#M17554</link>
      <description>&amp;gt;Would a block size of 61440 be better than 65535? &lt;BR /&gt;&lt;BR /&gt;Try it.  &lt;BR /&gt;&lt;BR /&gt;I'm aware of various theories here, and empirical tests always trump those.   One of the common values floating around is 32256; that's what I have tended to use.    I'd not tend to expect a huge difference from 32256 up to the limit, either.&lt;BR /&gt;&lt;BR /&gt;I've had much better results with better targeting the data covered by the backups, moving to faster hardware, and particularly with knobs such as compression (yep; before an encryption) to reduce the amount headed to the drive, and /NOALIAS and such.  With moving volatile data off the system disk and then archiving that disk once a quarter or after a significant change or upgrade or ECO or such.  With sending less data out to the media.&lt;BR /&gt;&lt;BR /&gt;The other tuning target here is being able to feed the data into to the drives; shoveling the bits through BACKUP, and (more importantly) feeding the buffers in the streamer and avoiding data starvation and thus keeping the drives themselves streaming at speed.  Starved/stalled tape drives have to re-position and restart.)  Also look at your interconnect speeds and device speeds.  The FC SAN 2Gb gear is slower than some of the newer interconnects, newer LTO and Ultrium is faster than old (presuming you can keep the maw fed with data), and a fragmented drive is always a problem.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Also with the SDLT and Ultrium tape drives can we set /NOCRC and /GROUP=0&lt;BR /&gt;&lt;BR /&gt;That depends on how much you trust the tape and the tape ECC and the media itself, and considerations siuch as whether or not you can fit your archival processing into your available window.  &lt;BR /&gt;&lt;BR /&gt;I know folks that do trust the tape ECC.  And I know folks that don't.   I tend to have some trust in DLT and SDLT and such, and DDS makes an exceptionally good doorstop.&lt;BR /&gt;&lt;BR /&gt;[a version of this has been posted to the web site.]</description>
      <pubDate>Wed, 18 Nov 2009 04:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535598#M17554</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-18T04:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535599#M17555</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What is the length of encryption key used?&lt;BR /&gt;Encryption strength is often described in &lt;BR /&gt;terms of the length of the encryption key &lt;BR /&gt;used to perform the encryption. In general, &lt;BR /&gt;longer encryption keys provide stronger &lt;BR /&gt;encryption and shorter encryption key &lt;BR /&gt;provides faster BACKUP.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 05:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535599#M17555</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2009-11-18T05:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535600#M17556</link>
      <description>Stephen,&lt;BR /&gt;&lt;BR /&gt;if you are really interested (beyond just speculating), in which routines/libraries BACKUP spends it's CPU time, you can use the PCS SDA extension (PC-sampling):&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; PCS ! to display help information&lt;BR /&gt;SDA&amp;gt; PCS LOAD&lt;BR /&gt;SDA&amp;gt; PCS START TRACE&lt;BR /&gt;... wait a while while backup is running...&lt;BR /&gt;SDA&amp;gt; PCS STOP TRACE&lt;BR /&gt;SDA&amp;gt; SET PROC/IND=&lt;PID-OF-BACKUP-PROCESS&gt;&lt;BR /&gt;SDA&amp;gt; PCS SHOW TRACE/STATIS&lt;BR /&gt;SDA&amp;gt; PCS UNLOAD&lt;BR /&gt;SDA&amp;gt; EXIT&lt;BR /&gt;&lt;BR /&gt;This will tell you, how often a specific PC value is being observed and SDA will try to symbolize those PC values. I assume you will recognize, where the majority of PC samples will be spent...&lt;BR /&gt;&lt;BR /&gt;Note that a second CPU may NOT speed up this encypted backup, if the encryption operation cannot be multithreaded (is it using PTHREADS ?). A second CPU will provide capacity for other processes to execute.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PID-OF-BACKUP-PROCESS&gt;</description>
      <pubDate>Wed, 18 Nov 2009 07:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535600#M17556</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-11-18T07:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535601#M17557</link>
      <description>&lt;!--!*#--&gt;If you are using encryption, then it may consume high CPU. Why are you concerned with high rate of CPU consumption? Is it performance of the other application?&lt;BR /&gt;Currently, BACKUP does not have any control over data scan or throttling output.</description>
      <pubDate>Thu, 19 Nov 2009 05:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535601#M17557</guid>
      <dc:creator>Nikus Giri</dc:creator>
      <dc:date>2009-11-19T05:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP uses nearly 100% CPU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535602#M17558</link>
      <description>&amp;gt;Currently, BACKUP does not have any control over data scan or throttling output.&lt;BR /&gt;&lt;BR /&gt;Output can be throttled with /IO_LOAD on OpenVMS versions where that qualifier is available (or if and as that gets back-ported?), and that tends to back-pressure the input scan.&lt;BR /&gt;&lt;BR /&gt;the Alpha EV6 and EV7 processors don't compare well with Itanium nor all that well with current x86-64 processors; they're older.   &lt;BR /&gt;&lt;BR /&gt;If you need to offload the Alpha box, I'd tend to suggest using an Integrity as a BACKUP and compute server.  The used hardware boxes and the current FOE base license can be quite affordable, though the cluster license cost was (when last I looked) comparatively huge (regardless of platform) part of any OpenVMS purchase.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 14:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-uses-nearly-100-cpu/m-p/4535602#M17558</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-19T14:08:57Z</dc:date>
    </item>
  </channel>
</rss>

