BUILD Mini-ITX C226 Haswell build

Interested in a mITX Haswell build?

  • Yes, for both size and power!

    Votes: 61 79.2%
  • No, I don't mind using a larger case.

    Votes: 6 7.8%
  • No, the size and power are nice, but I really need more space/expansion on the board.

    Votes: 10 13.0%

  • Total voters
    77
Status
Not open for further replies.

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
There are ECC SODIMMs. Kingston. 8Gb.


Sent from my iPad using Tapatalk HD


How much are they? Newegg has one(so it claims), but the picture isn't of an SODIMM.
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
Well good news, everyone, the motherboard works fine and I'm running FreeNAS 9.1.1. Just had to disable USB3.0 in BIOS to get it to boot correctly (even though it was a 2.0 drive in a 2.0 port).

Anyway, still haven't managed to successfully create permissions so I can actually write to the damn volume... maybe it's just because it's late but following the steps in the manual has gotten me all of nowhere so far. I'll give it another shot tomorrow.
 

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
Cant find the E3C224D2I anywhere in my country :-/



Sent from my iPhone using Tapatalk - now Free
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
Well, couldn't get NFS working in Win 7 Pro, but I'm saturating GigE with CIFS, so no complaints. Also, the Node 304 is damn quiet, for the record.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
How much of one core is CIFS needing to saturate Gb? Just curious how much spare room you get. :)

Thanks for testing it!
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
How much of one core is CIFS needing to saturate Gb? Just curious how much spare room you get. :)

Thanks for testing it!
Well it uses almost one entire thread... (2 cores, 4 threads) so it hovers a bit under 50/200. Doesn't quite rail it, but close. Makes me glad I picked the i3 over the Pentium since it's got a higher clock rate. Multiple samba connections will use different threads right? It's just that one samba connection is single threaded?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Well it uses almost one entire thread... (2 cores, 4 threads) so it hovers a bit under 50/200. Doesn't quite rail it, but close. Makes me glad I picked the i3 over the Pentium since it's got a higher clock rate. Multiple samba connections will use different threads right? It's just that one samba connection is single threaded?

Nope. One thread for the smbd service. And because of how cifs works its been said we shouldn't expect this to change anytime soon.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Nope. One thread for the smbd service. And because of how cifs works its been said we shouldn't expect this to change anytime soon.
Yes, one thread per smbd process. However, samba spawns a new smbd process for every new CIFS connection. Therefore, multiple cores will not speed up single user operations, but will increase performance in a multi user scenario. For example, right now I see four smbd processes running in parallel on my FreeNAS server.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Yes, one thread per smbd process. However, samba spawns a new smbd process for every new CIFS connection. Therefore, multiple cores will not speed up single user operations, but will increase performance in a multi user scenario. For example, right now I see four smbd processes running in parallel on my FreeNAS server.

Umm, that's not how its described in the manual last time I read it. What's your source? Here's mine:

http://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture.html

Multithreading and Samba

People sometimes tout threads as a uniformly good thing. They are very nice in their place but are quite inappropriate for smbd. nmbd is another matter, and multi-threading it would be very nice.
The short version is that smbd is not multithreaded, and alternative servers that take this approach under Unix (such as Syntax, at the time of writing) suffer tremendous performance penalties and are less robust. nmbd is not threaded either, but this is because it is not possible to do it while keeping code consistent and portable across 35 or more platforms. (This drawback also applies to threading smbd.)
The longer versions is that there are very good reasons for not making smbd multi-threaded. Multi-threading would actually make Samba much slower, less scalable, less portable and much less robust. The fact that we use a separate process for each connection is one of Samba's biggest advantages.
Threading smbd
A few problems that would arise from a threaded smbd are:
  1. It's not only to create threads instead of processes, but you must care about all variables if they have to be thread specific (currently they would be global).
  2. if one thread dies (eg. a seg fault) then all threads die. We can immediately throw robustness out the window.
  3. many of the system calls we make are blocking. Non-blocking equivalents of many calls are either not available or are awkward (and slow) to use. So while we block in one thread all clients are waiting. Imagine if one share is a slow NFS filesystem and the others are fast, we will end up slowing all clients to the speed of NFS.
  4. you can't run as a different uid in different threads. This means we would have to switch uid/gid on _every_ SMB packet. It would be horrendously slow.
  5. the per process file descriptor limit would mean that we could only support a limited number of clients.
  6. we couldn't use the system locking calls as the locking context of fcntl() is a process, not a thread.
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
The information you pasted is about multithreading, i.e. using multiple threads in single smbd process. That is still a problem. However, samba is using multiple smbd processes for a very long time already.

https://www.samba.org/samba/docs/man/manpages/smbd.8.html:
[PANEL]A session is created whenever a client requests one. Each client gets a copy of the server for each session. This copy then services all connections made by the client during that session. When all connections from its client are closed, the copy of the server for that client terminates.[/PANEL]
You can test it for yourself. When you start samba there's only one smbd process running, but as you start connecting from different clients the number of processes will grow. You can even run smbstatus -p to see which process (PID) is serving which client.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
The information you pasted is about multithreading, i.e. using multiple threads in single smbd process. That is still a problem. However, samba is using multiple smbd processes for a very long time already.

https://www.samba.org/samba/docs/man/manpages/smbd.8.html:
[PANEL]A session is created whenever a client requests one. Each client gets a copy of the server for each session. This copy then services all connections made by the client during that session. When all connections from its client are closed, the copy of the server for that client terminates.[/PANEL]
You can test it for yourself. When you start samba there's only one smbd process running, but as you start connecting from different clients the number of processes will grow. You can even run smbstatus -p to see which process (PID) is serving which client.

Doh, you're right. Maybe I shouldn't be posting at 5am local time. Who has coffee? LOL.

I guess it really doesn't matter anyway. We've pretty much proven that if a single client can saturate a Gb LAN who really cares of CIFS could do 4 threads. You are already bottle-necked at the LAN card.
 

TheSmoker

Patron
Joined
Sep 19, 2012
Messages
225
I didn't doubt that they existed... just that they're so uncommon that they are likely very highly priced.

True. Not yet on the open market. Waiting for a quotation from a Kingston distri for 2 weeks now ...

Sent from my iPad using Tapatalk HD
 

mka

Contributor
Joined
Sep 26, 2013
Messages
107
Well it uses almost one entire thread... (2 cores, 4 threads) so it hovers a bit under 50/200. Doesn't quite rail it, but close. Makes me glad I picked the i3 over the Pentium since it's got a higher clock rate.
I tested the DualCore Pentium G3220 with 3GHz and about 80mb/s SMB read transfer resulted in about ~18% CPU usage (monitored in 'top'). It's not really GbE saturated but close; I will test a quite faster SSD to saturate the NIC.
 

mka

Contributor
Joined
Sep 26, 2013
Messages
107
The top speed I've managed transfering from a SSD through SMB was 105mb/s. Interesting though the cpu usage was a bit smaller with ~13%. Maybe because the SSD did transfer the file with 500mb/s directly to memory/ARC and operation needed much less device operations.
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
Yeah, for some reason I got slower reads than writes (and that's with lz4 compression and RAIDZ2).
I remember reading some things a while back about 4k sector/disk alignment affecting speeds but totally wasn't thinking about it during my setup. Is that still a "thing" that needs to be configured?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Yeah, for some reason I got slower reads than writes (and that's with lz4 compression and RAIDZ2).
I remember reading some things a while back about 4k sector/disk alignment affecting speeds but totally wasn't thinking about it during my setup. Is that still a "thing" that needs to be configured?

Sometimes. Depends on several factors.
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
When I had my old Pentium G530 I was able to get 100MB/s+ in both read and write, with SMB no problem. You really do not need much power for Freenas unless you start running a lot of plugins or have a very large volume. The faster processor may help with scrub times, but I doubt there would be a huge difference.
 

underpickled

Contributor
Joined
Oct 1, 2013
Messages
167
I'm starting to realize that... based on what I'm seeing of processor usage I probably could have just gone with the G3220. Oh well. Can't hurt to have a bit more power at my disposal. Right now I run subsonic on another computer that pulls from the FreeNAS box... if I can get subsonic or plex running, maybe I can put the i3 to better use and avoid keeping my i7 machine on.
 

raidflex

Guru
Joined
Mar 14, 2012
Messages
531
I'm starting to realize that... based on what I'm seeing of processor usage I probably could have just gone with the G3220. Oh well. Can't hurt to have a bit more power at my disposal. Right now I run subsonic on another computer that pulls from the FreeNAS box... if I can get subsonic or plex running, maybe I can put the i3 to better use and avoid keeping my i7 machine on.

Subsonic should run well on the i3. I have found, though that Plex can be very demanding depending on the quality of the video you are trying to encode. I know with my Blu-ray backups it uses over 50% of my E3-1230V3 when streaming, but these are full bit-rate copies. This again will vary depending on the quality at which you are streaming the video also.

I would also check out Madsonic, I use this and really like the features that the developer is implementing. The big difference with Madsonic is that it reads the actual metadata or ID tags of the music files, instead of just your file/folder structure. The developer has also added a new Pandora type feature to Madsonic, which looks promising.
 
Status
Not open for further replies.
Top