Moving On Up - smaller servers and bigger performance

39
Moving On Up – Smaller Servers and Bigger Performance Doug Lucy Allegro Consultants

Transcript of Moving On Up - smaller servers and bigger performance

Page 1: Moving On Up - smaller servers and bigger performance

Moving On Up –Smaller Servers and Bigger Performance

Doug LucyAllegro Consultants

Page 2: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Who…

• Programming since 1978• OpenEdge v3.2A and Unix since 1986• Certified in AIX, HP-UX, Solaris, etc.• 35 programmers and DBAs• Contract programming and

consulting

Page 3: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Customer history• Chose Progress vertical app• Bought Unix for multiple users• Added on to grow• Kept machine forever

Page 4: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Results after 10, 15, 20 years

• Locked-in proprietary platform• Rarely upgrade to new model• Very expensive

– Training– Add-on hardware– software

Page 5: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Need to grow• More users, demands• More data to crunch• Ageing hardware• Increasing support cost

Page 6: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Moving on up• Upgrade servers• Modern platforms• 50% of cost of proprietary• Reach new features

Page 7: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Your direction• How many will buy new or

add?• Want fast, cheap, supported• Must be safe, risk-free• How do you decide?

Page 8: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Previously supported OSes

• DEC VMS• DEC Unix• MS-DOS• Novell Netware• CTOS/BTOS• Sequent

Dynix/ptx• Data General DG-

UX• SCO Xenix & Unix• SCO Unixware

• AT&T/NCR Unix• Unisys Unix• IBM AIX• HP-UX• Sun SunOS &

Solaris• MS Windows NT• RedHat & SUSE

Linux• AS/400

Page 9: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Current OSes and CPUs• IBM AIX on

Power• Linux

– x86– Power

• HP-UX– PA-RISC– Itanium

• Sun Solaris– SPARC– x86

• Windows Server– x86

• Tru64 on Alpha

Page 10: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

OS and CPU trends• x86 – Intel Pentium AMD• Linux or Windows on x86

– Reduce costs– Shift most R&D costs to external– Focus on software and services– Standards rather than

proprietary

Page 11: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Benefits of x86-based• Lower initial costs• Lower support

costs• Increased

selection– Hardware– OS– Add-ons– Vendors– Resources

• Better performance

• Newer features sooner

• Virtualization• More timely

upgrades• Budget for

other options

Page 12: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Cons of x86-based• More vendors “in the mix”• Limited support for 3rd party• HW and OS support not as

deep yet• Servers not always as cool

looking

Page 13: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Costs of new platform• New hardware• New OS• HW, OS, and SW annual

support• Porting costs (consulting or

in-house)• Platform change fees

Page 14: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Solution comparisons

Page 15: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

5-year costs and savings

Page 16: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Excellent cluster config

Page 17: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Question:• Ok, so it’s cheaper…• But is it faster?

Page 18: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

CPU SPECint_rate2000

“performance measurements that can be used to compare compute-intensive workloads on different computer systems, SPEC CPU2000 CINT2000 for measuring and comparing compute-intensive integer performance.”

-www.spec.org

Page 19: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

TPC-C• Transaction Processing

Council– www.tpc.org

• TPC-C benchmark for OLTP

Page 20: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Today’s TPC-C results

• Old days – big iron• Today - top fifty!

Page 21: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Important performance notes

• Database apps need I/O and memory speed, not so much compute speed– Memory and I/O bus speed– L2 and L3 cache size– Memory size– I/O speed and spread

• OpenEdge uses INT ops, not FP ops• Keep context switching to a

minimum

Page 22: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Change: What’s important?

• Vendor selection• Vendor support• Planning the migration

Page 23: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Vendor selection• Choose vendor you trust• Nearby parts and service• Solid Linux/Windows history

and investments• Enterprise relationship

Page 24: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Vendors and support• 24x7 enterprise support is

critical• Top-tier vendor

– HP, IBM, Sun, Dell• Align for Windows or Linux

Page 25: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

What is migrating?

Database

QAD MFG/pro

OpenEdge

OS

Model 1000

Page 26: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Migrating to a new machine

Database

QAD MFG/pro

OpenEdge

OS 1.0

Model 1000

OS 2.3

Model 2000

Page 27: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Migrating to a new machine

Database

QAD MFG/pro

OpenEdge

OS 1.0

Model 1000

Database

QAD MFG/pro

OpenEdge

OS 2.0

Model 2000

Page 28: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Porting to a new platform

Database

QAD MFG/pro

OpenEdge

OS 1.0

Model 1000

Database

QAD MFG/pro

OpenEdge

Different OS 2.3

Model XYZ

Page 29: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Porting plan• Licensing issues – discover early• Validate portable code base, no

orphans• Catalog all services and products• Purchase and install HW and OS• Create bare-metal restore• Test new support contacts and

contracts

Page 30: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Porting plan (cont’d)• Install software, recompile and basic

test• Migrate users, printers, devices, data• User testing of functionality, external

interfaces• Nightly refresh• DR test• Parallel testing• Switchover and reverse refresh

Page 31: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Porting issues• UIDS and

Passwords• Profiles• Printers• Locations and

paths• Data

– Tar and untar– Dump&Load

• Scripts– Crontab vs.

Windows– Bourne shell vs.

bash vs. CMD.EXE

– Windows equivalents

• Rosetta stonebhami.com/

rosetta.html

Page 32: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Pitfalls to watch out for

• /dev/null• Serial ports• No Windows

telnet• Windows swap• Console

messages vs. Event Manager

• Online or LVM under Windows

• Search for “UNIX” or “OP-SYS”

• Sending email• Spaces in

filenames and paths

• Proprietary backup

• RAID 5• Not enough disks

Page 33: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Progress issues• Dump and load – endian-ness• .R OK with endian-ness, not

32 vs 64• Moving database

– Cannot use probkup– Binary dump and load OK– Character code conversion

• Disk layout and performance

Page 34: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

End state

Page 35: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Virtualization• One physical machine

– Multiple OSes– Movable OSes

• Like partitioning• Dramatic trend towards

virtualization

Page 36: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Harlow’s “Fun with Virtualization”

• Why Virtualize?– Maximize utilization of server

resources– Provide higher availability– Simplify the testing of

upgrades/changes– Ease migration to new servers– Increase security– Reduce administrative workload

Page 37: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Recommendations• Project support and upgrade

costs• Consider move to x86• Consolidate platforms and

storage• Plan your architecture• Vendors with knowledge and

support• Test, test, test

Page 38: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Slides and handouts• Slides and handouts available• Questions via phone or email

– Doug Lucy– [email protected]– (804) 553-1130

Page 39: Moving On Up - smaller servers and bigger performance

DB-7 Moving On Up - Smaller Servers and Bigger Performance

Any questions?

www.AllegroConsultants.com