LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2013, 05:57 AM   #16
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled

@rknichols

Thank you for refreshing my knowledge on SSDs. I read about these some time ago but of course I forgot.

Quote:
Originally Posted by rknichols View Post
In fact, enabling automatic TRIM can seriously hurt performance. Prior to SATA 3.1, TRIM was defined as a non-queueable command, so using the "discard" (automatic TRIM) option can cause slow write performance. Scheduling a once-a-day fstrim operation a a cron job might be preferable.
I have a SATA 1.0 motherboard with a SATA 3.0 SSD. The default in Windows 7 is TRIM enabled (the last time I checked). I don't know what thta means, compared to your linked post to Patrick Nagel's specific case. Maybe more information besides that particular case in that blog post?
 
Old 08-20-2013, 05:59 AM   #17
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
For SSDs, you want to avoid layouts that would have an erase block, which might be 256KB, that spans more than one filesystem. It's not for performance reasons, but for data integrity. You want to avoid operations in one filesystem causing part of another filesystem to be copied and reallocated. That's why modern partitioning tools default to 1-Megabyte alignment for partitions.
So the bottom line is you not only suggest to align for 4096 bytes in partitions (for SSDs) but for whole megabytes as well? Where can I read about this issue more? Many thanks.
 
Old 08-20-2013, 07:25 AM   #18
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I doubt you'd find much improvement. USB flash drives tend to be a collection of weird stuff going on inside. Not sure I'd ever attempt to fool with them. They may mount like a scsi but aren't internally a true drive. Maybe CF or SD flash may be more ISO like.
http://gparted.sourceforge.net/displ...me=help-manual

Use MiB alignment for modern operating systems. This setting aligns partitions to start and end on precise mebibyte (1,048,576 byte) boundaries. MiB alignment provides enhanced performance when used with RAID systems and with Solid State Drives, such as USB flash drives.
 
Old 08-20-2013, 03:06 PM   #19
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
If you want, do as I suggested. Prove to us there is some benefit to this task. Prove that you can really align any and all usb flash drives. Prove to me that I am wrong about how usb flash drives are produced.
 
Old 08-23-2013, 04:37 AM   #20
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
If you want, do as I suggested. Prove to us there is some benefit to this task.
Quote:
Originally Posted by jefro View Post
There is a hardware issue with usb flash drives. They are not all the same. They were never intended to replicate a hard drive.
Quote:
Originally Posted by permissive View Post
About USB sticks were never intended to replace HDDs? They have come a long time, definitely. Think about USB3 sticks, certified to run Windows 8 from it.
Link - http://www.microsoft.com/en-us/windo...ndowstogo.aspx
Go to the section Windows To Go Certified Drives

-

Anyways, what is the default way you should format a USB stick? Windows? Linux? Special application?

With this recommendation - http://www.pendrivelinux.com/restori...key-partition/ - I formatted a stick using the SD Card association tool - it got totally weird results: instead of 4k, it got 32k sectors, instead of 1 MiB free space at start, it got 4 MiB space. Maybe it was bad advice from pendrivelinux.com?
 
Old 08-23-2013, 04:42 AM   #21
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Maybe some additional info for this topic as well: http://www.linuxquestions.org/questi...6/#post5014360
 
Old 08-23-2013, 06:24 AM   #22
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by permissive View Post
Link - http://www.microsoft.com/en-us/windo...ndowstogo.aspx
Go to the section Windows To Go Certified Drives
Jefro is pretty much right, USB flash drives werent made to replace HDDs.

You might find reading this page helpful-

http://wiki.laptop.org/go/How_to_Dam...Storage_Device
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: USB 2.0 vs. USB 3.0 Flash Drives On Linux LXer Syndicated Linux News 0 03-04-2013 11:50 PM
Soon to be first time Linux user - Question about USB Flash Drives CT_0000 Linux - Newbie 4 09-30-2009 04:19 PM
Usb Flash Drives Not Working On Linux paq7512 Mandriva 8 05-23-2008 08:55 PM
Directories always 4096 bytes? riwaJR Debian 4 04-03-2006 01:16 PM
connection reset after 4096 bytes when using FTP to access remote server socrates71 Linux - Networking 2 10-20-2005 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration