Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I find out, or does anybody know, if is faster storing/reading a file with Spanish/Greek/Cyrilic/etc... characters like mi-foto-españa-oíóáaç.jpg than mi-foto-espana-oioaac.jpg ?

share|improve this question
    
Make a script that does it a million times and time it ? :) –  Antoine Benkemoun Mar 17 '13 at 12:52
1  
Good point, I'll give a try later –  w0rldart Mar 17 '13 at 12:57
    
Sure, benchmark it. But I would be very surprised if the name of the file made any difference at all. Why do you suspect it might? –  Celada Mar 17 '13 at 13:01
1  
@Celada I was just curious... latter I will benchmark the same thing but for apache, see if any difference there. –  w0rldart Mar 17 '13 at 13:03

1 Answer 1

I doubt very much that the name of the file will affect the read/write speed of the system to a file. The reason being that once the file is open all actions on it take place through the file descriptor (fd) and the name is not used.

share|improve this answer
    
Furthermore, the filename is just a byte string on Linux. No conversion between character sets will occur –  Alastair McCormack Jul 12 '13 at 15:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.