Re: [gpfsug-discuss] GPFS best practises : end user standpoint
On Tue, 2018-01-16 at 15:47 +0000, Carl Zetie wrote:
Maybe this would make for a good session at a future user group meeting -- perhaps as an interactive session? IBM could potentially provide a facilitator from our Design practice.
Most of it in my view is standard best practice regardless of the file system in use. So in our mandatory training for the HPC, we tell our users don't use whacked out characters in your file names and directories. Specifically no backticks, no asterik's, no question marks, no newlines (yes really), no slashes (either forward or backward) and for Mac users don't start the name with a space (forces sorting to the top). We recommend sticking to plain ASCII so no accented characters either (harder if your native language is not English I guess but we are UK based so...). We don't enforce that but if it causes the user problems then they are on their own. We also strongly recommend using ISO 8601 date formats in file names to get date sorting from a directory listing too. Surprisingly not widely known about, but a great "life hack". Then it boils down to don't create zillions of files. I would love to be able to somehow do per directory file number quota's where one could say set a default of a few thousand. Users would then have to justify needing a larger quota. Sure you can set a file number quota but that does not stop them putting them all in one directory. If users really need to have zillions of files then charge them more so you can afford to beef up your metadata disks to SSD. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Hi Jonathan, Comments / questions inline. Thanks! Kevin
On Jan 16, 2018, at 10:08 AM, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> wrote:
On Tue, 2018-01-16 at 15:47 +0000, Carl Zetie wrote:
Maybe this would make for a good session at a future user group meeting -- perhaps as an interactive session? IBM could potentially provide a facilitator from our Design practice.
Most of it in my view is standard best practice regardless of the file system in use.
So in our mandatory training for the HPC, we tell our users don't use whacked out characters in your file names and directories. Specifically no backticks, no asterik's, no question marks, no newlines (yes really), no slashes (either forward or backward) and for Mac users don't start the name with a space (forces sorting to the top). We recommend sticking to plain ASCII so no accented characters either (harder if your native language is not English I guess but we are UK based so...). We don't enforce that but if it causes the user problems then they are on their own.
We’re in Tennessee, so not only do we not speak English, we barely speak American … y’all will just have to understand, bless your hearts! ;-). But seriously, like most Universities, we have a ton of users for whom English is not their “primary” language, so dealing with “interesting” filenames is pretty hard to avoid. And users’ problems are our problems whether or not they’re our problem.
We also strongly recommend using ISO 8601 date formats in file names to get date sorting from a directory listing too. Surprisingly not widely known about, but a great "life hack".
Then it boils down to don't create zillions of files. I would love to be able to somehow do per directory file number quota's where one could say set a default of a few thousand. Users would then have to justify needing a larger quota. Sure you can set a file number quota but that does not stop them putting them all in one directory.
If you’ve got (bio)medical users using your cluster I don’t see how you avoid this … they’re using commercial apps that do this kind of stupid stuff (10’s of thousands of files in a directory and the full path to each file is longer than the contents of the files themselves!). This reminds me of way back in 2005 when we moved from an NFS server to GPFS … I was moving users over by tarring up their home directories on the NFS server, copying the tarball over to GPFS and untarring it there … worked great for 699 out of 700 users. But there was one user for whom the untar would fail every time I tried … turned out that back in early versions of GPFS 2.3 IBM hadn’t considered that someone would put 6 million files in one directory! :-O
If users really need to have zillions of files then charge them more so you can afford to beef up your metadata disks to SSD.
OK, so here’s my main question … you’re right that SSD’s are the answer … but how do you charge them more? SSDs are move expensive than hard disks, and enterprise SSDs are stupid expensive … and users barely want to pay hard drive prices for their storage. If you’ve got the magic answer to how to charge them enough to pay for SSDs I’m sure I’m not the only one who’d love to hear how you do it?!?!
JAB.
-- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2...
On Tue, 2018-01-16 at 16:35 +0000, Buterbaugh, Kevin L wrote: [SNIP]
We’re in Tennessee, so not only do we not speak English, we barely speak American … y’all will just have to understand, bless your hearts! ;-).
But seriously, like most Universities, we have a ton of users for whom English is not their “primary” language, so dealing with “interesting” filenames is pretty hard to avoid. And users’ problems are our problems whether or not they’re our problem.
User comes with problem, you investigate find problem is due to "wacky" characters point them to the mandatory training documentation, tell them they need to rename their files to something sane and take no further action. Sure English is not their primary language but *they* have chosen to study in an English speaking country so best to actually embrace that. I do get it, many of our users are not native English speakers as well. Yes it's a tough policy but on the other hand pandering to them does them no favours either. [SNIP]
If you’ve got (bio)medical users using your cluster I don’t see how you avoid this … they’re using commercial apps that do this kind of stupid stuff (10’s of thousands of files in a directory and the full path to each file is longer than the contents of the files themselves!).
Well then they have justified the use; aka it's not their fault so you up the quota for them. Though they could use different less brain dead software. The idea is to force a bump in the road so the users are aware that what they are doing is considered bad practice. Most users have no idea that putting a million files in a directory is not sensible and worse that trying to access them using a GUI file manager is positively brain dead. [SNIP]
OK, so here’s my main question … you’re right that SSD’s are the answer … but how do you charge them more? SSDs are move expensive than hard disks, and enterprise SSDs are stupid expensive … and users barely want to pay hard drive prices for their storage. If you’ve got the magic answer to how to charge them enough to pay for SSDs I’m sure I’m not the only one who’d love to hear how you do it?!?!
Give every user a one million file number quota. Need to store more than one million files, then you are going to have to pay $X per extra million files. Either they cough up the money to continue using their brain dead software or they switch to less stupid software. If they complain you just say that enterprise SSD's are stupidly expensive and you are using that space up at an above average rate and so have to pay the costs. I am quite sure someone storing 1PB has to pay more than someone storing 1TB, so why should someone storing 20 million files not have to pay more than someone storing 100k files? The only difference is people are used to paying more to store extra bytes and not used to paying more for more files, but that is because most sane people don't store millions and millions of files necessitating the purchase of large amounts of expensive enterprise SSD's. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
My own thoughts on this one are that I believe when software is being developed, the developers use 'small' use cases. At the company which develops the software, the developers will probably have a desktop machine with a modest amount of RAM and disk space. Then the company might have a small to medium sized HPC cluster. I know I am stretching things a bit, but I would imagine a lot of effort goes into verifying the correct operation of software on given data sets. When the software is released to customers, either commercially or internally within a company, it is suddenly applied to larger datasets, and is applied repetitively. Hence the creation of directories filled with thousands of small files. My own example from this here is in a former job, wind tunnel data was captured as thousands of PNG files which were frames from a camera. The data was shipped back to me on a hard drive, and I was asked to store it on an HSM system with tape as the lowest tier. I knew that the PNG files had all bene processed anyway, and significant data had been extracted. The engineers wanted to keep the data 'just in case'. I knew that keeping thousands of files is bad for filesystem performance and also on a tape based system you can have the fiels stored on many tapes, so if you ever do trigger a recall you have a festival of robot tape loading. So what I did was zip up all the directories. -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Jonathan Buzzard Sent: Tuesday, January 16, 2018 6:26 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] GPFS best practises : end user standpoint On Tue, 2018-01-16 at 16:35 +0000, Buterbaugh, Kevin L wrote: [SNIP]
We’re in Tennessee, so not only do we not speak English, we barely speak American … y’all will just have to understand, bless your hearts! ;-).
But seriously, like most Universities, we have a ton of users for whom English is not their “primary” language, so dealing with “interesting” filenames is pretty hard to avoid. And users’ problems are our problems whether or not they’re our problem.
User comes with problem, you investigate find problem is due to "wacky" characters point them to the mandatory training documentation, tell them they need to rename their files to something sane and take no further action. Sure English is not their primary language but *they* have chosen to study in an English speaking country so best to actually embrace that. I do get it, many of our users are not native English speakers as well. Yes it's a tough policy but on the other hand pandering to them does them no favours either. [SNIP]
If you’ve got (bio)medical users using your cluster I don’t see how you avoid this … they’re using commercial apps that do this kind of stupid stuff (10’s of thousands of files in a directory and the full path to each file is longer than the contents of the files themselves!).
Well then they have justified the use; aka it's not their fault so you up the quota for them. Though they could use different less brain dead software. The idea is to force a bump in the road so the users are aware that what they are doing is considered bad practice. Most users have no idea that putting a million files in a directory is not sensible and worse that trying to access them using a GUI file manager is positively brain dead. [SNIP]
OK, so here’s my main question … you’re right that SSD’s are the answer … but how do you charge them more? SSDs are move expensive than hard disks, and enterprise SSDs are stupid expensive … and users barely want to pay hard drive prices for their storage. If you’ve got the magic answer to how to charge them enough to pay for SSDs I’m sure I’m not the only one who’d love to hear how you do it?!?!
Give every user a one million file number quota. Need to store more than one million files, then you are going to have to pay $X per extra million files. Either they cough up the money to continue using their brain dead software or they switch to less stupid software. If they complain you just say that enterprise SSD's are stupidly expensive and you are using that space up at an above average rate and so have to pay the costs. I am quite sure someone storing 1PB has to pay more than someone storing 1TB, so why should someone storing 20 million files not have to pay more than someone storing 100k files? The only difference is people are used to paying more to store extra bytes and not used to paying more for more files, but that is because most sane people don't store millions and millions of files necessitating the purchase of large amounts of expensive enterprise SSD's. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org... -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. Neither the sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.
On Tue, 16 Jan 2018 17:25:47 +0000, Jonathan Buzzard said:
User comes with problem, you investigate find problem is due to "wacky" characters point them to the mandatory training documentation, tell them they need to rename their files to something sane and take no further action. Sure English is not their primary language but *they* have chosen to study in an English speaking country so best to actually embrace that.
I do get it, many of our users are not native English speakers as well. Yes it's a tough policy but on the other hand pandering to them does them no favours either.
Go ahead and try to make that policy stick in Tokyo or Cairo or Berlin or any other city or country where English isn't the primary language. Seriously - this is something that IBM has to make work well across all languages if they want to make this fly globally and not just in places that are English-predominant. Though to be honest, most of the problems I've had have been with embedded blanks in filenames, newline characters in filenames (fortunately only a half dozen or so out of almost 500M files), and esc-[-random from people banging on F8 instead of 8, etc. Have the occasional backspace character creep in too.
On Wed, 2018-01-17 at 06:35 -0500, valdis.kletnieks@vt.edu wrote:
On Tue, 16 Jan 2018 17:25:47 +0000, Jonathan Buzzard said:
User comes with problem, you investigate find problem is due to "wacky" characters point them to the mandatory training documentation, tell them they need to rename their files to something sane and take no further action. Sure English is not their primary language but *they* have chosen to study in an English speaking country so best to actually embrace that. I do get it, many of our users are not native English speakers as well. Yes it's a tough policy but on the other hand pandering to them does them no favours either.
Go ahead and try to make that policy stick in Tokyo or Cairo or Berlin or any other city or country where English isn't the primary language.
Sure hard, but not *my* problem :-) Though to be fair missing accent's off is not that bad. Obviously if your language does not use the Roman alphabet then things are somewhat more serious. Note I am in the UK and you just don't use a £ in your file name (if your sensible) so I really do get it.
Seriously - this is something that IBM has to make work well across all languages if they want to make this fly globally and not just in places that are English-predominant.
Oh GPFS works fine; well unless it is ancient versions of mmbackup in which case they just cause your backup to be aborted without doing anything! It's all the other end user programs that, especially end user scripts that cause problems. So either we advise users that special characters might cause them problems and best to not use them in the first place, or wait till they have a problem and then tell them they need to rename some thousands of files. In sort it's not IBM's problem other than they are one of the major culprits who helped create this mess back in the day :-)
Though to be honest, most of the problems I've had have been with embedded blanks in filenames, newline characters in filenames (fortunately only a half dozen or so out of almost 500M files), and esc-[-random from people banging on F8 instead of 8, etc. Have the occasional backspace character creep in too.
The mind boggles how you manage to get a backspace character into a file name. A new line is bad enough, but a backspace!!! To be honest its more this sort of nonsense than none ASCII characters that cause the problems. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
On Wed, 17 Jan 2018 13:48:14 +0000, Jonathan Buzzard said:
The mind boggles how you manage to get a backspace character into a file name.
You can get yourself into all sorts of trouble with stty - in particular, if you're ssh'ed from one system to another, and they disagree on whether the "make the last character go away" key is Delete or Backspace.
Inline… — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu<mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633 On Jan 16, 2018, at 11:25 AM, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk<mailto:jonathan.buzzard@strath.ac.uk>> wrote: On Tue, 2018-01-16 at 16:35 +0000, Buterbaugh, Kevin L wrote: [SNIP] I am quite sure someone storing 1PB has to pay more than someone storing 1TB, so why should someone storing 20 million files not have to pay more than someone storing 100k files? Because they won’t … they’ll do something more brain dead like put a WD MyBook they bought at Costco on their desk and expect their job to copy data back and forth from it to /tmp on the compute node. We have to offer a service that users are willing to pay for … we can’t dictate to them the way things WILL be. There’s a big difference between the way things should be and the way things actually are … trust me, those of us in the United States know that better than most people around the world after the past year! Bigly! Buh-leave ME! :-O JAB.
On Wed, 2018-01-17 at 16:56 +0000, Buterbaugh, Kevin L wrote:
Inline…
— Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu - (615)875-9633
On Jan 16, 2018, at 11:25 AM, Jonathan Buzzard <jonathan.buzzard@st rath.ac.uk> wrote:
On Tue, 2018-01-16 at 16:35 +0000, Buterbaugh, Kevin L wrote:
[SNIP]
I am quite sure someone storing 1PB has to pay more than someone storing 1TB, so why should someone storing 20 million files not have to pay more than someone storing 100k files?
Because they won’t … they’ll do something more brain dead like put a WD MyBook they bought at Costco on their desk and expect their job to copy data back and forth from it to /tmp on the compute node. We have to offer a service that users are willing to pay for … we can’t dictate to them the way things WILL be.
However users need to be willing to pay for something that works. As they say cheap, fast and resilient pick any two. Getting back to your scenario, their performance will suck assuming it would work in the first place and secondly it's not your problem any more :-)
There’s a big difference between the way things should be and the way things actually are … trust me, those of us in the United States know that better than most people around the world after the past year! Bigly! Buh-leave ME! :-O
In my experience part of the problem is system administrators *not* pushing back a bit to users when they want something unreasonable. If you don't all you do is raise a generation of spoilt children. Secondly in my experience when you do push back most users are reasonable and understanding when it's explained to them in a manner they understand that what they are trying to do is not sensible. Oh and for the record I have been right their and had to put a file quota on a user that effectively stopped them dead in their tracks because half the files on the file system where from that one user, and everyone else was complaining that performance was going down the tube. I relevant example is a research group in my university where too cheap to by a proper file server so brought a large NAS box instead from a well known vendor. Just before Christmas the NAS box popped, it's still not replaced yet. Said research group have put their hands in their pockets for a server from a tier one vendor with a 4hr response maintenance plan. Funny that :-) JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
Yes, "special" characters in pathnames can lead to trouble... But just for the record... GPFS supports the same liberal file name policy as standard POSIX. Namely any bytestring is valid, except: / delimits directory names The \0 (zero or Null Character) byte value marks the end of the pathname. There are limits on the length of an individual file or directory name. AND there is an OS imposed limit on the total length of a pathname you can pass through the file system APIs. From: "Buterbaugh, Kevin L" <Kevin.Buterbaugh@Vanderbilt.Edu> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 01/16/2018 01:58 PM Subject: Re: [gpfsug-discuss] GPFS best practises : end user standpoint Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi Jonathan, Comments / questions inline. Thanks! Kevin
On Jan 16, 2018, at 10:08 AM, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> wrote:
On Tue, 2018-01-16 at 15:47 +0000, Carl Zetie wrote:
Maybe this would make for a good session at a future user group
meeting -- perhaps as an interactive session? IBM could potentially
provide a facilitator from our Design practice.
Most of it in my view is standard best practice regardless of the file
system in use.
So in our mandatory training for the HPC, we tell our users don't use
whacked out characters in your file names and directories. Specifically
no backticks, no asterik's, no question marks, no newlines (yes
really), no slashes (either forward or backward) and for Mac users
don't start the name with a space (forces sorting to the top). We
recommend sticking to plain ASCII so no accented characters either
(harder if your native language is not English I guess but we are UK
based so...). We don't enforce that but if it causes the user problems
then they are on their own.
We’re in Tennessee, so not only do we not speak English, we barely speak American … y’all will just have to understand, bless your hearts! ;-). But seriously, like most Universities, we have a ton of users for whom English is not their “primary” language, so dealing with “interesting” filenames is pretty hard to avoid. And users’ problems are our problems whether or not they’re our problem.
We also strongly recommend using ISO 8601 date formats in file names to
get date sorting from a directory listing too. Surprisingly not widely
known about, but a great "life hack".
Then it boils down to don't create zillions of files. I would love to
be able to somehow do per directory file number quota's where one could
say set a default of a few thousand. Users would then have to justify
needing a larger quota. Sure you can set a file number quota but that
does not stop them putting them all in one directory.
If you’ve got (bio)medical users using your cluster I don’t see how you avoid this … they’re using commercial apps that do this kind of stupid stuff (10’s of thousands of files in a directory and the full path to each file is longer than the contents of the files themselves!). This reminds me of way back in 2005 when we moved from an NFS server to GPFS … I was moving users over by tarring up their home directories on the NFS server, copying the tarball over to GPFS and untarring it there … worked great for 699 out of 700 users. But there was one user for whom the untar would fail every time I tried … turned out that back in early versions of GPFS 2.3 IBM hadn’t considered that someone would put 6 million files in one directory! :-O
If users really need to have zillions of files then charge them more so
you can afford to beef up your metadata disks to SSD.
OK, so here’s my main question … you’re right that SSD’s are the answer … but how do you charge them more? SSDs are move expensive than hard disks, and enterprise SSDs are stupid expensive … and users barely want to pay hard drive prices for their storage. If you’ve got the magic answer to how to charge them enough to pay for SSDs I’m sure I’m not the only one who’d love to hear how you do it?!?!
JAB.
--
Jonathan A. Buzzard Tel: +44141-5483420
HPC System Administrator, ARCHIE-WeSt.
University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protecti... _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
participants (6)
-
Buterbaugh, Kevin L -
Carl Zetie -
John Hearns -
Jonathan Buzzard -
Marc A Kaplan -
valdis.kletnieks@vt.edu
