Intelligent Clouds on the Horizon for Financial Services

By Matt Davey

July 1, 2010

HPC has been around in the capital market financial space for a number of years. Is there now a need for a data aware cloud, that offers improved utilization and SLA coupled with lower latency, to move HPC to the next level?

We can begin to answer this question by looking at how HPC is used from a market risk perspective, initially providing some background on how market risk is calculated from a portfolio perspective and then discussing the need for a data aware cloud that leverages the Windows Server HPC 2008 R2 product

Both the buy-side (advising institutions concerned with buying) and sell-side (a firm that sells investment services to asset management firms – services such as broking/dealing, investment banking, advisory functions, and investment research) have had various HPC grid deployments for many years.  Platform and DataSynapse are the two that I believe have the largest install bases within the London and New York financial communities. 

Initially these HPC grid installations were not used in the most intelligent way – in some cases they were used to simply run Microsoft Excel sheet calculations in parallel.  Unfortunately in certain places this is still the case today, which effectively means that we have non-optimum grid usage often leading to the failure of Service Level Agreements (SLA’s) coupled with higher running costs and job/task compute times.  

Another issue that has been common in sell-side organizations is asset classes (rates, foreign exchange, commodities, etc) owning their own HPC grids partly due to the inability of the HPC grid to satisfy SLA’s appropriately.

One of the main uses of financial HPC grids has been to calculate risk, specifically Market Risk.  Market risk is the risk that the value of a portfolio, either an investment portfolio or trade portfolio, will decrease due to the change in value of the market risk factors.  The four standard market risk factors are stock prices, interest rates, foreign exchange rates, and commodity prices. 

Before we look at how market risk is calculated using HPC grids, let’s look at how a HPC is used within the context of the trade life cycle.  If we start with the trader, they would submit a buy or sell order to a market (e.g. exchange).  On the order being accepted a trade would be created that becomes part of a portfolio (sometimes this is known as the traders book).  For the lifetime of the trade being held, its market risk needs to be calculated so that the holder of the trade can understand what their profit/loss is overall.  Often the market risk can be calculated with a closed form solution (which is what we will discuss for the rest of this article).

An HPC solution is ideal given the number of books that require market risk calculations especially with the ever increasing need to perform a trade market risk calculation when one or more of the market risk factors changes.  With certain trades there is no closed form solution, thus forcing a Monte Carlo route which is compute intensive and thus again forcing an HPC solution.

In the simplest and possibly most common form, market risk is calculated as follows for a portfolio:

1. Snap appropriate market data, yield curves, forecast curves (the model) required for the calculations

2. Submit all trades to the HPC grid.  Either send the required calculations data (from 1) with each trade submitted to the HPC, or allow each node used within the HPC to access the required calculation data (possibly in a database or other repository)

3. Store calculated market risk values as required in a repository for later use

4. Iterate this process as many times per day as necessary to manage your market risk

The above four-step process works, but there are a number of downsides, including the need to pass a lot of data around the network and  creating hot spots where a large number of nodes are accessing other repositories to get certain data, creating bottle necks.

If we move the above market risk calculation to the cloud (such as Amazon EC2, Google App Engine, Microsoft Azure), we end up with the same issues apart from the need to host the hardware.  There has to be a more intelligent way of calculating market risk.  What we need is a more intelligent HPC/cloud that is data aware.

The Data Aware Cloud
 

Given the aforementioned market risk problem, there are a number of factors we can leverage to improve the utilization of the HPC grid while calculating Market Risk:

 Portfolio size could possibly influence the way we leverage the HPC grid for calculating discount factors. 

  • For a small portfolio it might be more effective to calculate all the specific discount factors required as a one-off job, and then pass around the discount factors to the calculation nodes as required.
  • For larger portfolios it may be best to calculate all discount factors for the next 100 years (per day)
  • The time of day and the with currency can greatly influence HPC grid usage.  For example, when the Japanese market opens there will be a greater number of YEN currency market risk calculations, with a possible reduction on GBP

When we submit the portfolio job to the HPC scheduler/broker for processing, we don’t want random distribution of the trades (as tasks) to any node for processing.  We need a more targeted approach.  Windows Server HPC, DataSynapse and Platform all support the concept of the “group” allowing a restriction on the nodes a job can run on within the HPC grid.  However, we want to take this a step further and ensure that any trades, in the YEN currency example, are submitted to the same group of nodes where possible.  Further, we want to pre-load the discount factors for the YEN market risk calculations onto these nodes if possible to avoid sending the discount factors with each trade to a node for processing.

We essentially want a stateless/stateful concept within the HPC grid.  One might think about holding this state on the node within the operating system process that the node uses to run the task(s).  Unfortunately this isn’t ideal, as this process often has to be torn down after processing a task due to the nature of certain legacy libraries. 

Additionally, there is an SLA problem to be solved, which is why we need the “groups” mentioned above to be dynamic.  If the HPC scheduler views that a job will not be processing complete within the SLA, it needs to bring more nodes into the YEN currency group.  In doing this, the new nodes need to be pre-loaded with the appropriate state.  Likewise, on completion of the job, the state on the nodes needs to be erased.

Using Windows Server HPC 2008 R2 as a Data Aware Cloud

If we look at building a Data Aware Market Risk HPC using Windows Server HPC 2008 R2, we end up with a possible architecture as seen in the below diagram.  For brevity let’s assume the HPC grid is fed by a Complex Event Processing (CEP) engine such as Microsoft StreamInsight which figures out when a portfolio needs to be re-calculated and submits jobs.  The benefit of CEP is that the HPC grid is event-fed, rather than batch–fed,  which is often the case.

Let’s also assume that we have a Windows Server AppFabric Caching cluster that contains the discount factors.  AppFabric effectively offers us a data fabric solution that we can locate in close proximity to our HPC grid to reduce latency on data access required by HPC jobs.  Although it’s possible to include all HPC nodes into the AppFabric cluster for a small HPC grid, for a grid in the tens of thousands of nodes this would probably be a impractical.  Additionally, this path wouldn’t necessarily reduce network latency of data access since there is still only a single primary copy of any piece of data in a distributed data fabric.

The HPC Scheduler receives the jobs and distributes its constituent tasks to the appropriate nodes in the grid.  Prior to a node receiving a YEN task, the node manager would have been instructed to pre-load the “State Manager” with the appropriate set of discount factors, thereby limiting the data transfer packet to the node and  any node-to-repository traffic.

Where Are We?

This article has briefly touched on a few possibilities to improve the computational time of calculating market risk.  What is clear from my research and proof of concepts (POCs) is that much can be done improve the usage of an HPC grid from a software perspective, both in terms of logical business application as well as from the various vendors of HPC products to support improved orchestration of resources.

Today HPC’s are leveraged from a batch perspective, possibly calculating market risk at certain per-defined times, or when certain per-defined key market events occur – i.e. the London Inter Bank Offered Rate (LIBOR) is released daily at 11am. The introduction of changes in the operating environment driven by regulatory frameworks – specifically around capital adequacy – and increased internalization are effectively forcing the need for dynamic market risk calculations on an intra-day basis;. As a result the business is able to maximize the cash in the market while minimizing their regulatory reserve requirements. Going forward, as the business needs to become ever more dynamic, it is clear that HPC solutions will increasingly need to leverage event-driven software engineering techniques and CEP to meet these challenges.

—–

Matt Davey is a Director at Lab49, a strategy and technology consulting firm that builds advanced business solutions for the financial services industry. You can read more from Lab49 at http://blog.lab49.com/, or Matt’s blog at http://mdavey.wordpress.com.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

MLCommons Launches New AI Safety Benchmark Initiative

April 16, 2024

MLCommons, organizer of the popular MLPerf benchmarking exercises (training and inference), is starting a new effort to benchmark AI Safety, one of the most pressing needs and hurdles to widespread AI adoption. The sudde Read more…

Quantinuum Reports 99.9% 2-Qubit Gate Fidelity, Caps Eventful 2 Months

April 16, 2024

March and April have been good months for Quantinuum, which today released a blog announcing the ion trap quantum computer specialist has achieved a 99.9% (three nines) two-qubit gate fidelity on its H1 system. The lates Read more…

Mystery Solved: Intel’s Former HPC Chief Now Running Software Engineering Group 

April 15, 2024

Last year, Jeff McVeigh, Intel's readily available leader of the high-performance computing group, suddenly went silent, with no interviews granted or appearances at press conferences.  It led to questions -- what's Read more…

Exciting Updates From Stanford HAI’s Seventh Annual AI Index Report

April 15, 2024

As the AI revolution marches on, it is vital to continually reassess how this technology is reshaping our world. To that end, researchers at Stanford’s Institute for Human-Centered AI (HAI) put out a yearly report to t Read more…

Crossing the Quantum Threshold: The Path to 10,000 Qubits

April 15, 2024

Editor’s Note: Why do qubit count and quality matter? What’s the difference between physical qubits and logical qubits? Quantum computer vendors toss these terms and numbers around as indicators of the strengths of t Read more…

Intel’s Vision Advantage: Chips Are Available Off-the-Shelf

April 11, 2024

The chip market is facing a crisis: chip development is now concentrated in the hands of the few. A confluence of events this week reminded us how few chips are available off the shelf, a concern raised at many recent Read more…

MLCommons Launches New AI Safety Benchmark Initiative

April 16, 2024

MLCommons, organizer of the popular MLPerf benchmarking exercises (training and inference), is starting a new effort to benchmark AI Safety, one of the most pre Read more…

Exciting Updates From Stanford HAI’s Seventh Annual AI Index Report

April 15, 2024

As the AI revolution marches on, it is vital to continually reassess how this technology is reshaping our world. To that end, researchers at Stanford’s Instit Read more…

Intel’s Vision Advantage: Chips Are Available Off-the-Shelf

April 11, 2024

The chip market is facing a crisis: chip development is now concentrated in the hands of the few. A confluence of events this week reminded us how few chips Read more…

The VC View: Quantonation’s Deep Dive into Funding Quantum Start-ups

April 11, 2024

Yesterday Quantonation — which promotes itself as a one-of-a-kind venture capital (VC) company specializing in quantum science and deep physics  — announce Read more…

Nvidia’s GTC Is the New Intel IDF

April 9, 2024

After many years, Nvidia's GPU Technology Conference (GTC) was back in person and has become the conference for those who care about semiconductors and AI. I Read more…

Google Announces Homegrown ARM-based CPUs 

April 9, 2024

Google sprang a surprise at the ongoing Google Next Cloud conference by introducing its own ARM-based CPU called Axion, which will be offered to customers in it Read more…

Computational Chemistry Needs To Be Sustainable, Too

April 8, 2024

A diverse group of computational chemists is encouraging the research community to embrace a sustainable software ecosystem. That's the message behind a recent Read more…

Hyperion Research: Eleven HPC Predictions for 2024

April 4, 2024

HPCwire is happy to announce a new series with Hyperion Research  - a fact-based market research firm focusing on the HPC market. In addition to providing mark Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

DoD Takes a Long View of Quantum Computing

December 19, 2023

Given the large sums tied to expensive weapon systems – think $100-million-plus per F-35 fighter – it’s easy to forget the U.S. Department of Defense is a Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Baidu Exits Quantum, Closely Following Alibaba’s Earlier Move

January 5, 2024

Reuters reported this week that Baidu, China’s giant e-commerce and services provider, is exiting the quantum computing development arena. Reuters reported � Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Shutterstock 1179408610

Google Addresses the Mysteries of Its Hypercomputer 

December 28, 2023

When Google launched its Hypercomputer earlier this month (December 2023), the first reaction was, "Say what?" It turns out that the Hypercomputer is Google's t Read more…

Leading Solution Providers

Contributors

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

China Is All In on a RISC-V Future

January 8, 2024

The state of RISC-V in China was discussed in a recent report released by the Jamestown Foundation, a Washington, D.C.-based think tank. The report, entitled "E Read more…

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, codenamed Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Eyes on the Quantum Prize – D-Wave Says its Time is Now

January 30, 2024

Early quantum computing pioneer D-Wave again asserted – that at least for D-Wave – the commercial quantum era has begun. Speaking at its first in-person Ana Read more…

GenAI Having Major Impact on Data Culture, Survey Says

February 21, 2024

While 2023 was the year of GenAI, the adoption rates for GenAI did not match expectations. Most organizations are continuing to invest in GenAI but are yet to Read more…

Intel’s Xeon General Manager Talks about Server Chips 

January 2, 2024

Intel is talking data-center growth and is done digging graves for its dead enterprise products, including GPUs, storage, and networking products, which fell to Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire