Globals vs Locals: What Is Faster?

Hi, colleagues!

Consider you need to put some (less  than 1GB) data to an indexed array and do some data manipulations and calculations with it.

Should I prefer global or local for it?

views

rating

Setting the TZ Environment Variable on Linux

Setting the TZ Environment Variable on Linux

views

rating

Linux Transparent HugePages and the impact to Caché

** Revised Feb-22, 2017

 

Introduction

Memory is managed in pages.  The default page size is 4KB on Linux systems.  Red Hat Enterprise Linux 6, SUSE Linux Enterprise Server 11, and Oracle Linux 6 introduced a method to provide an increased page size in 2MB or 1GB sizes depending on system configuration know as HugePages.

At first HugePages required to be assigned at boot time, and if not managed or calculated appropriately could result in wasted resources.  As a result various Linux distributions introduced Transparent HugePages with the 2.6.38 kernel as enabled by default.  This was meant as a means to automate creating, managing, and using HugePages.  Prior kernel versions may have this feature as well however may not be marked as [always] and potentially set to [madvise].  

Transparent Huge Pages (THP) is a Linux memory management system that reduces the overhead of Translation Lookaside Buffer (TLB) lookups on machines with large amounts of memory by using larger memory pages.  However in current Linux releases THP can only map individual process heap and stack space.

views

rating

views

rating

Using Ensemble Lookup tables with Contains.

Is it possible to use a Contains clause using the IntersectLookup function?

views

rating

Create schema independent DTL to add FTS segment

 I ike to create schema independent DTL to add FTS segment  to the end of a message. The problem that I see if do I need to loop each segment  to find the last segment ? Or is there a better way to do this?

views

rating

Does or will Caché support RFC 7523

Unless I'm mistaken, 2017.1 doesn't appear to support RFC 7523 (JSON Web Token Profile for OAuth 2.0 Client Authentication and Authorization Grants).  Is that coming in 2017.2?

views

rating

How do I get a list of files in directory including subdirectories?

I'm aware of two ways to get list of files in a dir:

set dir = "C:\temp\"
set rs = ##class(%File).FileSetFunc(dir, , , 1)
do rs.%Display()

and:

views

rating

The Interns are Coming!

The Data Platforms department here at InterSystems is gearing up for this year's crop of interns, and I for one am very excited to meet them all next week!

views

rating

Insert SQL

I am inserting rows in a table. This table is appearing in all namespace as I did global mapping. 

views

rating

dataGrdid in ZEN

In Cache 2013.1.6.950.1 I have a ZEN dataGrid which works fine except if I use the mouse wheel to scroll through it.

views

rating

Accessing the iKnow REST APIs in 2017.1

This earlier article already announced the new iKnow REST APIs that are included in the 2017.1 release, but since then we've added extensive documentation for those APIs through the OpenAPI Specification (aka Swagger), which you'll find in the current 2017.1 release candidate. Without wanting to repeat much detail on how the APIs are organised, this article will show you how you can consult that elaborate documentation easily with Swagger-UI, an open source utility that reads OpenAPI specs and uses it to generate a very helpful GUI on top of your API.

views

rating

Removing Possible Duplicate Values in a HL7 Message

I have a case where I have a SIU message that has multiple RGSgrp's.

views

rating

New Video: Mirroring - Architecting for Throughput

Check the new video on Developer Community Youtube Channel:

Mirroring - Architecting for Throughput 

views

rating