cancel
Showing results for 
Search instead for 
Did you mean: 

The big difference between backup time on Windows and Linux SAP systems

0 Kudos

Hello to all! Please help me with my question, I have two systems:

ERP (Windows 2k8)

EWM (RHEL 6)

And backup server on Debian 6 with SAMBA, so I make a backups on network share.
I can't understand why ERP backup produced 8 hours, and EWM - 0.5 hour. Backup server is the same, datastore is the same, this virtual machines placed on the same host and it has the same performance (cpu and ram). Database size = ERP 1TB/ EWM 0.5TB, exec_parallel =16. Only difference is OS, could it be an answer? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thanks James! With your help I realise that SAP kernel on Windows uses mkszip and on Linux uses gzip.

Compression command looks like :

Windows: compress_cmd = "mkszip -c $ > $"

Linux: compress_cmd = "gzip -c $ > $"

Gzip default compression level is 6,

-# --fast --best<br>Regulate the speed of compression using the specified digit #, where -1 or --fast indi‐ cates the fastest compression method (less compression) and -9 or --best indicates the slowest compression method (best compression). The default compression level is -6 (that is, biased towards high compression at expense of speed).

and mkszip default compression is 9

<em><strong>-l</strong> comp_level<i>sets the level of compression to comp_level. Higher values lead to greater compression but result in more time taken during the compression process. The value comp_level may be an integer from 0 to 9. <strong>The default is 9</strong>.</i></em><i></i>

So the problem was in default level of compression which SAP do not manage. Now I am trying to find the optimal compression level.

JamesZ
Advisor
Advisor
0 Kudos

Good news, I am glad to help.

0 Kudos

I choose to do not use mkszip (compress = yes), so I use compress = brtools now. The backup time is 4x faster now.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello James!

"copy processes together":

  • I made two copies of a big datafile and send it to my servers (into oracle directory)
  • I started this copy processes simultaneously

I attached *.and files from two servers.

JamesZ
Advisor
Advisor

Hello Igor,

Have you test gzip?

I saw the data file are compressing backup, so I think compress will also differ.

Best regards,
James

JamesZ
Advisor
Advisor
0 Kudos

Hi Igor,

Then please perform testing:

1. put a big file to oracle data file directory
2. use cp or os command to manually move the testing file
3. then please check whether the speed is the same from both the system

By doing this, we can roughly knows the pure OS speed to back up.

Best regards,
James

0 Kudos

Hi James, the difference in copy speed is 10-15% (linux is faster), when I run copy processes together - the speed is equal.

JamesZ
Advisor
Advisor
0 Kudos

"copy processes together", can you please let me know the details on this?

Also please attach the faster and slower's brbackup trace, let us compare them again, whether it is certain data file backup was slow.

JamesZ
Advisor
Advisor
0 Kudos

Hi Igor,

The backup time is mainly depending on size, hardware/i/o, since you have different OS, so I assume this could be a proper different reason.
You may check from OS or I/O point of view.

Best regards,
James

0 Kudos

Hello James!

The problem that I use the same storage for both systems, so I think that isn't I/O question, and I can't believe that this OS can make so big difference. How can I check it ?